[HELP]SetPlayerSkillLevel!
#2

Yea you can do something like that, but ive had this problem too...


SA-MP wiki says to use it like this
Код:
public OnPlayerSpawn(playerid)
{
  SetPlayerSkillLevel(playerid, WEAPONSKILL_SAWNOFF_SHOTGUN, 200); //This will make them use single-handed sawnoff shotguns.
  return 1;
}
When you do that it makes them 1 handed... And it says to set it to 999 (or higher will max it out)

But... when i do this.... (on a command or anywhere)

Код:
if(strcmp(cmd,"/maxskill",true)==0)
{
  SetPlayerSkillLevel(playerid, WEAPONSKILL_SAWNOFF_SHOTGUN, 999); 
  return 1;
}
The player still has 1 handed gun.... Anyone help ??
Reply


Messages In This Thread
[HELP]SetPlayerSkillLevel! - by [NYRP]Mike. - 19.10.2009, 01:21
Re: [HELP]SetPlayerSkillLevel! - by Jason_Borne420 - 19.10.2009, 01:33

Forum Jump:


Users browsing this thread: 1 Guest(s)