Guest MiNNo Odesláno: 6. Leden, 2009 Share Odesláno: 6. Leden, 2009 Hojte mam mod,konecne test server a ked chcem napisat nejaky prikaz trebars /zbrane /jobs alebo hocico Vzdy vyhodi text Nejsi vo vozidle Ten text patri k tomu ze ak hrac napise /lock tak vypise nejsi vo vozidle pls helpp Link to comment Share on other sites More sharing options...
0 Daffy 8 Odesláno: 6. Leden, 2009 Share Odesláno: 6. Leden, 2009 problem je v tom , ze mas spatne zavorky nejspis ..no jo profik..ale mi ti do pawna NEVIDIME :wtf: Link to comment Share on other sites More sharing options...
0 Guest MiNNo Odesláno: 6. Leden, 2009 Share Odesláno: 6. Leden, 2009 cele lock a unlock if (strcmp(cmdtext, "/lock", true)==0) { if(IsPlayerInAnyVehicle(playerid)) { new State=GetPlayerState(playerid); if(State!=PLAYER_STATE_DRIVER) { SendClientMessage(playerid,COLOR_WHITE,"Zamknúť dvere može iba šofér. "); // posle zpravu return 1; } new i; for(i=0;i { if(i != playerid) { SetVehicleParamsForPlayer(GetPlayerVehicleID(playerid),i, 0, 1); } } SendClientMessage(playerid, COLOR_WHITE, "Auto zamknuté. "); // posle zpravu new Float:pX, Float:pY, Float:pZ; GetPlayerPos(playerid,pX,pY,pZ); PlayerPlaySound(playerid,1056,pX,pY,pZ); // prehraje zvuk } else { SendClientMessage(playerid,COLOR_WHITE, "Nejsi vo vozidle. "); } return 1; } if (strcmp(cmdtext, "/unlock", true)==0) // prikaz { if(IsPlayerInAnyVehicle(playerid)) { new State=GetPlayerState(playerid); if(State!=PLAYER_STATE_DRIVER) { SendClientMessage(playerid, COLOR_WHITE,"Odomknúť može len sofér. "); // posle zpravu return 1; } new i; for(i=0;i { SetVehicleParamsForPlayer(GetPlayerVehicleID(playerid),i, 0, 0); } SendClientMessage(playerid, COLOR_WHITE, "Auto odomknuté. "); // posle hraci zpravu new Float:pX, Float:pY, Float:pZ; GetPlayerPos(playerid,pX,pY,pZ); PlayerPlaySound(playerid,1057,pX,pY,pZ); // prehraje zvuk } else { SendClientMessage(playerid, COLOR_WHITE, "Nejsi vo vozidle. "); // posle hraci zpravu } return 1; } Link to comment Share on other sites More sharing options...
0 Daffy 8 Odesláno: 6. Leden, 2009 Share Odesláno: 6. Leden, 2009 to nemusi byt timto ..musis prostudovat vsechny zavorky v mode nejlepe v tom co si delal posledne a v te dobe kdy ti to slo Link to comment Share on other sites More sharing options...
0 Guest MiNNo Odesláno: 6. Leden, 2009 Share Odesláno: 6. Leden, 2009 omfg to by asi hadzalo errory ne ? Link to comment Share on other sites More sharing options...
0 Guest jirbate Odesláno: 6. Leden, 2009 Share Odesláno: 6. Leden, 2009 ne vždy jelikož me to taky delalo akorad když jsem si chtel koupit řidicak tak mi to ukazalo hrac nema zadnou zbran:D Link to comment Share on other sites More sharing options...
0 Daffy 8 Odesláno: 6. Leden, 2009 Share Odesláno: 6. Leden, 2009 omfg to by asi hadzalo errory ne ? omfg ...*rofl* tos me dostal toto ti hodi errory jo ? prikaz {blbost}{}{ prikaz {blbost}{}{}{}{}{}{}{}{}{}{}} stejny pocet zavorek..proc by melo ..mozna nejake o necem ..toto je jen priklad %) staci kdyz mas ty zavorky jen otocene {{{}}} {}{}{} {}{{}}... Link to comment Share on other sites More sharing options...
0 Daw3 0 Odesláno: 7. Leden, 2009 Share Odesláno: 7. Leden, 2009 iCQ - 474088529 pošli mod koukneme na to Link to comment Share on other sites More sharing options...
Dotaz
Guest MiNNo
Hojte mam mod,konecne test server a ked chcem napisat nejaky prikaz trebars
/zbrane
/jobs alebo hocico
Vzdy vyhodi text Nejsi vo vozidle
Ten text patri k tomu ze ak hrac napise /lock tak vypise nejsi vo vozidle
pls helpp
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