How to Remove this or edit it !? - 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: How to Remove this or edit it !? (
/showthread.php?tid=607477)
How to Remove this or edit it !? -
Recardo - 20.05.2016
Hello Guys How to i can Change this SERVER: Unkown Command? i want to change it How
Re: How to Remove this or edit it !? -
BiosMarcel - 20.05.2016
Sry but can you please use ****** before asking such things
https://sampwiki.blast.hk/wiki/OnPlayerCommandText
instead of return 0; just do "SendClientMessage(....);
Re: How to Remove this or edit it !? -
oMa37 - 20.05.2016
PHP код:
public OnPlayerCommandPerformed(playerid, cmdtext[], success)
{
if(!success) SendClientMessage(playerid, 0xFF0000FF, "Your text");
return 1;
}
Re: How to Remove this or edit it !? -
BiosMarcel - 20.05.2016
Quote:
Originally Posted by oMa37
PHP код:
public OnPlayerCommandPerformed(playerid, cmdtext[], success)
{
if(!success) SendClientMessage(playerid, 0xFF0000FF, "Your text");
return 1;
}
|
onPlayerCommandPerformed is not a native, providing such information isn't very useful.