public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/help", cmdtext, true, 10) == 0)
{
SendClientMessage(playerid, COLOR_WHITE, "/commands");
return 0;
}
if (strcmp("/commands", cmdtext, true, 10) == 0)
{ SendClientMessage(playerid, COLOR_ORANGE, "General commans");
SendClientMessage(playerid, COLOR_YELLOW, "/register, /mystats, /report,");
SendClientMessage(playerid, COLOR_YELLOW, "/fc 0, /fc 1, /nos");
SendClientMessage(playerid, COLOR_ORANGE, "Administrator commands");
SendClientMessage(playerid, COLOR_YELLOW, "/nuke, /fetch, /sethealth, /setarmour, /givecash, /banip");
SendClientMessage(playerid, COLOR_YELLOW, "/tempmod, /tempadmin, /giveweapon,");
SendClientMessage(playerid, COLOR_ORANGE, "Moderator commands");
SendClientMessage(playerid, COLOR_YELLOW, "/unban, /unbanip, /tp, /kill2, /refill, /ban, /kick, ");
SendClientMessage(playerid, COLOR_YELLOW, "/mute, /unmute, /vr, /spawn, /fix, /flip, /respawn, /tpmenu");
SendClientMessage(playerid, COLOR_YELLOW, "/spec, /specoff, /vcolour, /jail, /unjail ");
return 0;
}
if (strcmp("/fc 0", cmdtext, true, 10) == 0)
{
SendClientMessage(playerid, COLOR_WHITE, "Done.Now youre fighting on main club");
SetPlayerPos(playerid,2094.7195,2189.5349,13.5967) ;
return 1;
}
if (strcmp("/fc 1", cmdtext, true, 10) == 0)
{
SendClientMessage(playerid, COLOR_WHITE, "Now youre fighting on club 1");
SetPlayerPos(playerid,2010.7167,2168.5371,13.8421) ;
return 0;
}
return 0;
}