16.03.2014, 22:38
hey guys guestion can my samp server crash because of warnings? cuz i have 5 warns and my cmd /veh is crashing the server... any ideas? thanks!
else {
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.");
}
}
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.");
}
}