Weapon skills
#4

E.x this maybe willhelp you
public OnPlayerConnect(playerid)
{
SetPlayerSkillLevel(playerid, WEAPONSKILL_DESERT_EAGLE, 400);
// When player connect if he have lower than 100 score hes shooting skill will be low he will shoot like Cj in san andreas when you start playing for the first time with missions
return 1;
}
public OnPlayerSpawn(playerid)
{
if(GetPlayerScore(playerid) > 100) return SetPlayerSkillLevel(playerid, WEAPONSKILL_DESERT_EAGLE, 999);
// if player score is more than 100 his skill gona be normal
return 1;
}
// sorry for my low english if i helped you +rep me
Reply


Messages In This Thread
Weapon skills - by JamalMaddox - 11.04.2016, 15:18
Re: Weapon skills - by saffierr - 11.04.2016, 16:12
Re: Weapon skills - by Gammix - 11.04.2016, 17:33
Re: Weapon skills - by Dreni - 21.01.2017, 18:47

Forum Jump:


Users browsing this thread: 1 Guest(s)