TheKid 16 Odesláno: 21. Prosinec, 2012 Share Odesláno: 21. Prosinec, 2012 Cau vzdy mi to vyhodi unknown command ! public OnPlayerCommandText(playerid, cmdtext[]) { if(!strcmp(cmdtext, "/test1", true)) { LinkVehicleToInterior(vehicle, 10); SetVehiclePos(vehicle, -1079.99, 1061.58, 31343.04); RemovePlayerFromVehicle(vehicle); DestroyVehicle(vehicle); minigame = 2; SetGameModeText("Sniper + Deagle"); SetPlayerInterior(playerid,10); SetPlayerPos(playerid,-1079.99,1061.58,1343.04); SetPlayerFacingAngle(playerid,0.0); ResetPlayerWeapons(playerid); GivePlayerWeapon(playerid,24,9999); GivePlayerWeapon(playerid,34,9999); healthtd = TextDrawCreate(572,148,"5"); health[playerid] = 5; TextDrawSetString(playerid,health); TextDrawShowForPlayer(playerid,healthtd); return 1; } if(!strcmp(cmdtext, "/test1", true)) { SetPlayerHealth(playerid,0.00); return 1; } return 0; } Ani jeden prikaz nefunguje ! Díky Link to comment Share on other sites More sharing options...
0 Mivčo 90 Odesláno: 21. Prosinec, 2012 Share Odesláno: 21. Prosinec, 2012 toto daj preč: return 1; } co je pod TextDrawShowForPlayer(playerid,healthtd); a skus ze ci ti to pojde 1 Link to comment Share on other sites More sharing options...
0 TheKid 16 Odesláno: 21. Prosinec, 2012 Author Share Odesláno: 21. Prosinec, 2012 toto daj preč: return 1; } co je pod TextDrawShowForPlayer(playerid,healthtd); a skus ze ci ti to pojde Nejde Link to comment Share on other sites More sharing options...
0 Mivčo 90 Odesláno: 21. Prosinec, 2012 Share Odesláno: 21. Prosinec, 2012 to si davaš do modu alebo robiš script mal som tiez problem jeden daval dom si radio,ovladanie,tip,carmenu do kopy všetko a dal som to na server a nič nejšlo 1 Link to comment Share on other sites More sharing options...
0 Administrátor Ewwe 434 Odesláno: 21. Prosinec, 2012 Administrátor Share Odesláno: 21. Prosinec, 2012 Ten return tam je od toho aby to příkaz uznalo . Jestli to máš jako FS tak se podívej jestli sis ho načetl. Jestli to máš v módu tak se podívej jestli ti to někde neblokuje nějaká podmínka nebo podobný kraviny Link to comment Share on other sites More sharing options...
0 TheKid 16 Odesláno: 22. Prosinec, 2012 Author Share Odesláno: 22. Prosinec, 2012 Dělám to do gamemodu , zkoumal sem jestli sou všechny závorky uzavřený a sou tak fakt uz nevim Ok už sem na to přišel , mužete lock Link to comment Share on other sites More sharing options...
Dotaz
TheKid 16
Cau vzdy mi to vyhodi unknown command !
Ani jeden prikaz nefunguje !
Díky
Link to comment
Share on other sites
5 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