08.01.2012, 00:06
Im trying to make it so when the player joins it auto gives them full weapon skill. But it wont give them it. I made a cmd to give and it works.
pawn Код:
public OnPlayerConnect(playerid)
{
SetPlayerSkillLevel(playerid, WEAPONSKILL_SAWNOFF_SHOTGUN, 1000);
SetPlayerSkillLevel(playerid, WEAPONSKILL_PISTOL, 1000);
SetPlayerSkillLevel(playerid, WEAPONSKILL_PISTOL_SILENCED, 1000);
SetPlayerSkillLevel(playerid, WEAPONSKILL_DESERT_EAGLE, 1000);
SetPlayerSkillLevel(playerid, WEAPONSKILL_MICRO_UZI, 1000);
SetPlayerSkillLevel(playerid, WEAPONSKILL_MP5, 1000);
SetPlayerSkillLevel(playerid, WEAPONSKILL_AK47, 1000);
SetPlayerSkillLevel(playerid, WEAPONSKILL_M4, 1000);
return 1;
}