Teleport Message
#4

pawn Код:
if (strcmp("/sf", cmdtext, true, 10) == 0)
{
CMDMessageToAll(playerid,"SF");
//bla bla
return 1;
}
pawn Код:
stock CMDMessageToAll(playerid,command[])
{
    new string[128]; GetPlayerName(playerid,string,sizeof(string));
    format(string,sizeof(string),"[Teleport]: %s has gone to: /%s",string,command);
    return SendClientMessageToAll(0xFFFF00AA,string);
}
Reply


Messages In This Thread
Teleport Message - by Linus- - 01.01.2011, 20:14
Re: Teleport Message - by Grim_ - 01.01.2011, 20:15
Re: Teleport Message - by Hal - 01.01.2011, 20:16
Re: Teleport Message - by HyperZ - 01.01.2011, 20:16
Re: Teleport Message - by Linus- - 01.01.2011, 20:17

Forum Jump:


Users browsing this thread: 1 Guest(s)