18.11.2010, 15:54
Como posso adicionar isto no GM, quando o player mirar e atirar, ele nгo possa andar?
public OnPlayerSpawn(playerid)
{
SetPlayerSkillLevel(playerid, WEAPONSKILL_DESERT_EAGLE, 1);//Isso muda a skill da Eagle pra 1!
return 1;
}
0 - WEAPONSKILL_PISTOL 1 - WEAPONSKILL_PISTOL_SILENCED 2 - WEAPONSKILL_DESERT_EAGLE 3 - WEAPONSKILL_SHOTGUN 4 - WEAPONSKILL_SAWNOFF_SHOTGUN 5 - WEAPONSKILL_SPAS12_SHOTGUN 6 - WEAPONSKILL_MICRO_UZI 7 - WEAPONSKILL_MP5 8 - WEAPONSKILL_AK47 9 - WEAPONSKILL_M4 10 - WEAPONSKILL_SNIPERRIFLE