06.02.2010, 20:10
http://forum.sa-mp.com/index.php?topic=2750.0
Brackets!
Brackets!
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/help", cmdtext, true, 10) == 0)
{
SendClientMessage(playerid, COLOR_GREEN, "------CMFS Help--------");
SendClientMessage(playerid, COLOR_GREEN, "We are a server that is in progress");
SendClientMessage(playerid, COLOR_GREEN, "We use fsdebug for now...");
SendClientMessage(playerid, COLOR_GREEN, "We hope to get a full script in a week to a month");
SendClientMessage(playerid, COLOR_GREEN, "Just bare with us and have fun");
SendClientMessage(playerid, COLOR_GREEN, "[CMDS]: /v /w /w2 /t /rules some others to....");
SendClientMessage(playerid, COLOR_GREEN, "You can ask a admin (If any) for more help and rules.");
return 1;
}
if (strcmp("/rules", cmdtext, true, 10) == 0)
{
SendClientMessage(playerid, COLOR_GREEN, "-------CMFS Rules--------");
SendClientMessage(playerid, COLOR_GREEN, "We don't really care what you do,");
SendClientMessage(playerid, COLOR_GREEN, "Just don't DM, you can have some fights with people,");
SendClientMessage(playerid, COLOR_GREEN, "And kill them but don't kill them otherwise.");
SendClientMessage(playerid, COLOR_GREEN, "And don't over spawn cars.");
SendClientMessage(playerid, COLOR_GREEN, "You can ask a admin (If any) for more help and rules.");
return 1;
}
return 0;
}