Algol 0 Odesláno: 22. Březen, 2012 Share Odesláno: 22. Březen, 2012 Vím že to tu nejspíš už je a že to je pro lamy ale je to můj první fs a chtěl bych ho ukázat dáme nový script a do něj dáme public OnPlayerCommandText(playerid,cmdtext[]) dáme: if (strcmp("/pivo", cmdtext, true, 10) == 0) //příkaz { SetPlayerSpecialAction(playerid,SPECIAL_ACTION_DRINK_BEER); //akce return 1; vím že to je hrozně lehké ale pro někoho to může být užitečné Link to comment Share on other sites More sharing options...
Kuba 0 Odesláno: 22. Březen, 2012 Share Odesláno: 22. Březen, 2012 Proč tu nedáváš cely (funkční) script ? Link to comment Share on other sites More sharing options...
makelele824 0 Odesláno: 22. Březen, 2012 Share Odesláno: 22. Březen, 2012 Proč tu nedáváš cely (funkční) script ? Asi to je celý script Link to comment Share on other sites More sharing options...
Kuba 0 Odesláno: 22. Březen, 2012 Share Odesláno: 22. Březen, 2012 Kdybych neuměl vůbec pawno a dal si to do publicu tak mi to bude házet error Link to comment Share on other sites More sharing options...
makelele824 0 Odesláno: 22. Březen, 2012 Share Odesláno: 22. Březen, 2012 To jo no chybý mu tam public OnPlayerCommandText(playerid, cmdtext[]) Link to comment Share on other sites More sharing options...
Guest Odesláno: 22. Březen, 2012 Share Odesláno: 22. Březen, 2012 má tam bejt return 1; } Link to comment Share on other sites More sharing options...
Mattsy 29 Odesláno: 22. Březen, 2012 Share Odesláno: 22. Březen, 2012 if (strcmp("/pivo", cmdtext, true, 10) == 0) Toto máš blbo, serveru odošleš že príkaz má 10 znakov ale ten tvoj má len 5 znakov Link to comment Share on other sites More sharing options...
Recommended Posts