Disable Teleport command help.
#9

Quote:
Originally Posted by ruarai
Quote:

if(ReceiveInfo[playerid] == true)
{
new string [128];
new pName[MAX_PLAYER_NAME];
GetPlayerName(playerid, pName, sizeof(pName));
format(string, sizeof(string), "TELE: %s has gone to Skroad (/skroad)", pName);
SendClientMessage(i,COLOR_YELLOW, string);
}

you forgot a [playerid] after ReceiveInfo
and you also send the message to all players even though the player has done /teleoff
That's not the reason that causes UnknownCommand
Reply


Messages In This Thread
Disable Teleport command help. - by BP13 - 02.08.2009, 20:05
Re: Disable Teleport command help. - by whooper - 02.08.2009, 23:02
Re: Disable Teleport command help. - by yezizhu - 03.08.2009, 01:14
Re: Disable Teleport command help. - by BP13 - 03.08.2009, 05:45
Re: Disable Teleport command help. - by yezizhu - 03.08.2009, 06:29
Re: Disable Teleport command help. - by BP13 - 03.08.2009, 08:28
Re: Disable Teleport command help. - by yezizhu - 03.08.2009, 09:10
Re: Disable Teleport command help. - by ruarai - 03.08.2009, 09:29
Re: Disable Teleport command help. - by yezizhu - 03.08.2009, 09:56

Forum Jump:


Users browsing this thread: 3 Guest(s)