11.07.2015, 17:51
PHP код:
public OnPlayerUpdate(playerid)
{
if(pData[playerid][pDonator] == 0) //If their VIP level is greater than 0 (AKA They are a VIP)
{
SetPlayerSkillLevel(playerid, WEAPONSKILL_SAWNOFF_SHOTGUN, 999);
SetPlayerSkillLevel(playerid, WEAPONSKILL_PISTOL, 999);
}
else
{
SetPlayerSkillLevel(playerid, WEAPONSKILL_PISTOL, 0);
SetPlayerSkillLevel(playerid, WEAPONSKILL_SAWNOFF_SHOTGUN, 0);
}
it was working fine before idk what's wrong now. Do you see something wrong here?