16.03.2014, 23:06
case 38:
{
if(PlayerInfo[giveplayerid][pConnectTime] >= 2) {
PlayerInfo[giveplayerid][pWRestricted] = amount;
format(string, sizeof(string), " %s's Weapon Restricted Time has been set to %d.", GetPlayerNameEx(giveplayerid), amount);
}
else
return SendClientMessageEx(playerid, COLOR_GREY, "You cannot set this on a player who has under 2 playing hours.");
}
This?
{
if(PlayerInfo[giveplayerid][pConnectTime] >= 2) {
PlayerInfo[giveplayerid][pWRestricted] = amount;
format(string, sizeof(string), " %s's Weapon Restricted Time has been set to %d.", GetPlayerNameEx(giveplayerid), amount);
}
else
return SendClientMessageEx(playerid, COLOR_GREY, "You cannot set this on a player who has under 2 playing hours.");
}
This?