#1

Can u tell me or give link? tut where can i find

i want vip player have 2 sawf off guns or 9mm or whatever and without vip just 1 guns on hands.
Reply
#2

Example:

pawn Код:
public OnPlayerSpawn(playerid) //When a player spawns
{
    if(PlayerInfo[playerid][pVip] > 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);
    }
    return 1;
}
This is an example, do not copy it completely, replace PlayerInfo[playerid][pVip] with your own VIP variables.
Reply
#3

thanx i did it before but i not work so lets try it again.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)