Basic scripting question.
#7

Change OnPlayerCommandText(playerid) to public OnPlayerCommandText(playerid, cmdtext[]). Write these lines beneath OnPlayerCommandText:
pawn Код:
new object;
new idx;
EDIT: And you were actually only suppose to put the first one in OnPlayerText, and the other two in OnPlayerCommandText.
Reply


Messages In This Thread
Basic scripting question. - by steve_gibson - 10.07.2011, 23:31
Re: Basic scripting question. - by Adil - 10.07.2011, 23:36
Re: Basic scripting question. - by steve_gibson - 10.07.2011, 23:41
Re: Basic scripting question. - by Adil - 10.07.2011, 23:47
Re: Basic scripting question. - by steve_gibson - 10.07.2011, 23:51
Re: Basic scripting question. - by steve_gibson - 10.07.2011, 23:55
Re: Basic scripting question. - by Adil - 10.07.2011, 23:59
Re: Basic scripting question. - by steve_gibson - 11.07.2011, 00:08
Re: Basic scripting question. - by Adil - 11.07.2011, 00:47
Re: Basic scripting question. - by =WoR=Varth - 11.07.2011, 00:49

Forum Jump:


Users browsing this thread: 4 Guest(s)