SA-MP Forums Archive
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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: help (/showthread.php?tid=67646)



- - ReV. - 03.03.2009

----


Re: help - tehcudguy - 03.03.2009

string is not defined, add "string[128];" under OnPlayerCommandText


Re: help - ReV. - 04.03.2009

didnt work


Re: help - Daren_Jacobson - 04.03.2009

add
pawn Код:
new string[128];
at the bootom of OnPlayerCommandText (right before the message you are doing)


Re: help - Pyrokid - 04.03.2009

pawn Код:
new string[128];
format(string, sizeof(string), "I have scanned -- %s but its not a availabaile, please check your spelling and try again.", cmdtext);
return SendClientMessage(playerid, COLOR_SYSTEM, string);