15.04.2009, 21:33
Better yet, let me post the entire thing!
The indentations are screwed, but that should work!
NOTE: For the record, you had too many {}'s
pawn Код:
#include <a_samp>
#include <a_players>
#define FILTERSCRIPT
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp(cmdtext, "/helpinfo", true) == 0)
{
// Send a message to everyone.
SendClientMessageToAll(0xDEEE20FF, "This is just like a RP drift server.");
SendClientMessageToAll(0xDEEE20FF, "You pick a car and drift.");
SendClientMessageToAll(0xDEEE20FF, "No teleports.");
SendClientMessageToAll(0xDEEE20FF, "Aight?.");
SendClientMessageToAll(0xDEEE20FF, "If you want night, type /night.");
SendClientMessageToAll(0xDEEE20FF, "Respect admins, Teleports might come when i got time.");
return 1;
}
if (strcmp(cmdtext, "/cmds", true) == 0)
{
// Send a message to everyone.
SendClientMessageToAll(0xDEEE20FF, "TIME CMDS: /night /day ");
SendClientMessageToAll(0xDEEE20FF, "DRIFT CMDS: /drift1-19");
SendClientMessageToAll(0xDEEE20FF, "OTHER CMDS: /vfix /vflip /v color (ID)(ID).");
return 1;
}
return 0;
}
NOTE: For the record, you had too many {}'s

