21.03.2009, 11:56
/help and /teleports isn't 10 characters long...
You sure you defined COLOR_RED?
pawn Код:
if (strcmp("/help", cmdtext, true) == 0)
{
SendClientMessage(playerid, COLOR_RED, "Type /teleports for teleports.");
SendClientMessage(playerid, COLOR_RED, "Type /stunt for stunting locations.");
SendClientMessage(playerid, COLOR_RED, "Type /dm for deathmatch locations.");
SendClientMessage(playerid, COLOR_RED, "Type /kill to suicide.");
SendClientMessage(playerid, COLOR_RED, "Type /chilliad to go back to the spawn.");
return 1;
}
if (strcmp("/teleports", cmdtext, true) == 0)
{
SendClientMessage(playerid, COLOR_RED, "/airportls /airportsf /airportlv /airportdesert");
return 1;
}
return 0;
}