13.03.2012, 18:21
pawn Код:
CMD:knife(playerid, params[])
{
if(playerVariables[playerid][pGroup] == 10) SpawnPlayerWeapon(playerid, 4, 1);
return 1;
}
CMD:resetbook(playerid, params[])
{
if(playerVariables[playerid][pPhoneBook] == 1) playerVariables[playerid][pPhoneBook] = 0; //I suspect you want to set it to 0 instead of 1
return 1;
}
CMD:requestevent(playerid, params[])
{
if(playerVariables[playerid][pAdminLevel] >= 3)
{
new string[128];
format(string, sizeof(string), "%d has requested an event, /pm them to find out more information.", playerid);
SendClientMessage(playerid, COLOUR_ORANGE, string);
}
return 1;
}