OnPlayerCommandText
#1

Hello, I wanna change the SERVER: UNKNOWN COMMAND to my own, here is my OnPlayerCommandText line

public OnPlayerCommandText(playerid, cmdtext[])
if(strcmp("/drylake", cmdtext, true, 10) == 0)
{
SetPlayerPos (playerid, -31,1464,15);
SetPlayerInterior (playerid, 0);
SendClientMessage(playerid,0x0080FFFF,"Welcome to Dry Lake, stupid noob!");
return 1;

}
Reply


Messages In This Thread
OnPlayerCommandText - by G*Mafia - 05.03.2011, 07:11
Re: OnPlayerCommandText - by iMonk3y - 05.03.2011, 07:34
Re: OnPlayerCommandText - by Antonio [G-RP] - 05.03.2011, 07:36
Re: OnPlayerCommandText - by iMonk3y - 05.03.2011, 07:48
Re: OnPlayerCommandText - by G*Mafia - 05.03.2011, 08:18
Re: OnPlayerCommandText - by xir - 05.03.2011, 08:27
Re: OnPlayerCommandText - by G*Mafia - 05.03.2011, 08:39
Re: OnPlayerCommandText - by ilikenuts - 05.03.2011, 08:45
Re: OnPlayerCommandText - by xir - 05.03.2011, 08:47

Forum Jump:


Users browsing this thread: 1 Guest(s)