Romop5 3 Odesláno: 19. Listopad, 2008 Share Odesláno: 19. Listopad, 2008 mno, takze skusal som tento zaujmavý tut: http://pawno.cz/viewtopic.php?f=8&t=709, fakči akurát ma to nece kopnuť do hry aj ked som sa prihlásil (použil som "zazračné" vyhladávanie a napodiv to tu neni). Link to comment Share on other sites More sharing options...
0 chytrak 14 Odesláno: 19. Listopad, 2008 Share Odesláno: 19. Listopad, 2008 ja to mel v modu takto, if (!PLAYERLIST_authed[playerid]) { if(udb_Exists(PlayerName(playerid))) { SendClientMessage(playerid, COLOR_FLBLUE, "===> Než začneš hrát, tak se prosím přihlaš /login [heslo] <==="); }else{ SendClientMessage(playerid, COLOR_FLBLUE, "===> Než začneš hrát, tak se prosím zaregistruj /register [heslo] <==="); } return 0; } a slo to bez problemu Link to comment Share on other sites More sharing options...
0 Romop5 3 Odesláno: 19. Listopad, 2008 Author Share Odesláno: 19. Listopad, 2008 mno, ja som to "skopcil" ako to bolo v tute, mozno je to tym ze mam na serveri exis, ten vsetko kazi Link to comment Share on other sites More sharing options...
0 chytrak 14 Odesláno: 19. Listopad, 2008 Share Odesláno: 19. Listopad, 2008 dej si to takle a uvidis, v tutu chybel return publicu Link to comment Share on other sites More sharing options...
0 Romop5 3 Odesláno: 19. Listopad, 2008 Author Share Odesláno: 19. Listopad, 2008 ta ja nwm ale mne to fakci iba na 1 returne, na 0 m ito nece spawnut Link to comment Share on other sites More sharing options...
0 chytrak 14 Odesláno: 19. Listopad, 2008 Share Odesláno: 19. Listopad, 2008 v navodu nebyl return 1 pro public. ale byl pro podminku prihlaseni Link to comment Share on other sites More sharing options...
0 Guest ShockyCZE Odesláno: 19. Listopad, 2008 Share Odesláno: 19. Listopad, 2008 public OnPlayerRequestSpawn(playerid) { { if (!PLAYERLIST_authed[playerid]) { if(udb_Exists(PlayerName(playerid))) { GameTextForPlayer(playerid,"~w~Prihlas se!",5000,5); SendClientMessage(playerid, COLOR_LIGHTGREEN, "Nejsi prihlaseny, napiš /login heslo"); }else{ GameTextForPlayer(playerid,"~w~Registruj se!",5000,5); SendClientMessage(playerid,COLOR_LIGHTGREEN, "Nejsi registrovany, napis /register heslo"); } return 0; } return 1; } } Hej vy kanci, tak sem sem jednou zas zavital takto to ma byt Link to comment Share on other sites More sharing options...
0 chytrak 14 Odesláno: 20. Listopad, 2008 Share Odesláno: 20. Listopad, 2008 za prvne jsem to takle napsal a za druhe proc 2x { && } ???? Link to comment Share on other sites More sharing options...
Dotaz
Romop5 3
mno, takze skusal som tento zaujmavý tut: http://pawno.cz/viewtopic.php?f=8&t=709, fakči akurát ma to nece kopnuť do hry aj ked som sa prihlásil (použil som "zazračné" vyhladávanie a napodiv to tu neni).
Link to comment
Share on other sites
7 odpovědí na tuto otázku
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now