public OnPlayerSpawn(playerid){SetPlayerSkillLevel (playerid, WEAPONSKILL_PISTOL, 1000);SetPlayerSkillLevel (playerid, WEAPONSKILL_PISTOL_SILENCED, 1000);SetPlayerSkillLevel (playerid, WEAPONSKILL_DESERT_EAGLE, 1000);SetPlayerSkillLevel (playerid, WEAPONSKILL_SHOTGUN, 1000); SetPlayerSkillLevel (playerid, WEAPONSKILL_SAWNOFF_SHOTGUN, 1000);SetPlayerSkillLevel (playerid, WEAPONSKILL_SPAS12_SHOTGUN, 1000);SetPlayerSkillLevel (playerid, WEAPONSKILL_MICRO_UZI, 1000);SetPlayerSkillLevel (playerid, WEAPONSKILL_MP5, 1000);SetPlayerSkillLevel (playerid, WEAPONSKILL_AK47, 1000);SetPlayerSkillLevel (playerid, WEAPONSKILL_M4, 1000);SetPlayerSkillLevel (playerid, WEAPONSKILL_SNIPERRIFLE, 1000);return 1;}
CMD:skill(playerid, params[]){ new skill, level; if(sscanf(params, \"ii\", skill, level)) return SendClientMessage(playerid, -1, \"Használat : /skill [ Skill ] [ Szint ]\"); SetPlayerSkillLevel(playerid, skill, level);SendClientMessage(playerid, -1, \"Skin beállítva!\" );return 1;}
CMD:setskill(playerid, params[]) {new skill, value;if(sscanf(params, \"ii\", skill, value)) return SendClientMessage(playerid, -1, \"/setskill [skill] [Érték (0-999)]\");if(!(-1 < skill < 1000)) return SendClientMessage(playerid, 0xff0000ff, \"Hiba! skill értéknek minimum 0-át, maximum 100 adhatsz meg.\");if(!(-1 < value < 11)) return SendClientMessage(playerid, 0xff0000ff, \"Hiba! értéknek minimum 0-át, maximum 10 adhatsz meg.\"); SetPlayerSkillLevel(playerid, skill, value); SendClientMessage(playerid, -1, \"WeaponSkill érték beállítva!\");return 1;}
if(sscanf(params, \"ii\", skill, value)) return SendClientMessage(playerid, -1, \"/setskill [skill] [Érték (0-999)]\");
CMD:setskill(playerid, params[]){new targetid;new skill;new level;if(skill == 1){skill = \"WEAPONSKILL_SNIPERRIFLE\";}if(sscanf(params, \"iii\", targetid, skill, level)) return SendClientMessage(playerid, -1, \"Használd: {FFFFFF}/skillad[playerid] [Fegyver id] [szint]))\");if(!IsPlayerConnected(targetid)) return SendClientMessage(playerid, -1, \"* Nem elérhetõ..\");SetPlayerSkillLevel(targetid, skill, level);return 1;}