SA-MP Forums Archive
getting "unkown command" in /SetClan command, please help - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: getting "unkown command" in /SetClan command, please help (/showthread.php?tid=633019)

Pages: 1 2


Re: getting "unkown command" in /SetClan command, please help - Sew_Sumi - 24.04.2017

24 hour bumps only.

this
Code:
new cmd[256],idx,Cstring[1000],id;
    new tmp2[256],tmp1[256],tmp[256],file[256],text[256],str[256],vehicleid = GetPlayerVehicleID(playerid);
    cmd = strtok(cmdtext, idx);
is simply terrible.

You define all of this, even before checking if the player can use the command at all.


Re: getting "unkown command" in /SetClan command, please help - asafasaf - 28.04.2017

bump