31.07.2012, 05:53
take a look at mine ----------- this works
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/help", cmdtext, true, 10) == 0)
{
SendClientMessage(playerid,0x24FF0AB9,"/credits");
SendClientMessage(playerid,0x24FF0AB9,"/vip");
SendClientMessage(playerid,0x24FF0AB9,"/nitroinfo");
SendClientMessage(playerid,0x24FF0AB9,"/admins");
return 1;
}
if (strcmp("/t", cmdtext, true, 10) == 0)
{
SendClientMessage(playerid, 0x33CCFFFF, "Available TelePorts");
SendClientMessage(playerid, 0x24FF0AB9, "/sf - San Fierro Airport");
SendClientMessage(playerid, 0x24FF0AB9, "/lv - Las Vegas Airport");
SendClientMessage(playerid, 0x24FF0AB9, "/ls - Los Santos Airport");
SendClientMessage(playerid, 0x24FF0AB9, "/cf - CabinFever");
SendClientMessage(playerid, 0x24FF0AB9, "/sr - SkyRoad");
SendClientMessage(playerid, 0x24FF0AB9, "/t2 For More Teleports");
return 1;
}