public OnPlayerSpawn(playerid){SetPlayerSkillLevel (playerid, WEAPONSKILL_PISTOL, 0);SetPlayerSkillLevel (playerid, WEAPONSKILL_PISTOL_SILENCED, 1);SetPlayerSkillLevel (playerid, WEAPONSKILL_DESERT_EAGLE, 2);SetPlayerSkillLevel (playerid, WEAPONSKILL_SHOTGUN, 3); SetPlayerSkillLevel (playerid, WEAPONSKILL_SAWNOFF_SHOTGUN, 4);SetPlayerSkillLevel (playerid, WEAPONSKILL_SPAS12_SHOTGUN, 5);SetPlayerSkillLevel (playerid, WEAPONSKILL_MICRO_UZI, 6);SetPlayerSkillLevel (playerid, WEAPONSKILL_MP5, 7);SetPlayerSkillLevel (playerid, WEAPONSKILL_AK47, ;SetPlayerSkillLevel (playerid, WEAPONSKILL_M4, 9);SetPlayerSkillLevel (playerid, WEAPONSKILL_SNIPERRIFLE, 10);return 1;}[/quote]valahogy így kel de nekem nem rakja be,nem mûködik-4.:meg még az kellene hogy amint belép a player a szervere ne látszódjon a színe és a neve seKÖSZÖNÖM A SEGÍTSÉGET
#include #include #include #if defined FILTERSCRIPTpublic OnFilterScriptInit(){return 1;}public OnFilterScriptExit(){return 1;}#endifCMD:skin(playerid, params[]){new skinid, szoveg[128];if(sscanf(params, \"i\", skinid)) return SendClientMessage(playerid, -1, \"Használat: /skin [skinID]\");else if(skinid <= 0 && skinid < 300) return SendClientMessage(playerid, -1, \"HIBA: A Skin ID-nek 0-299 közott kell lennie!\");else { SetPlayerSkin(playerid, skinid); format(szoveg, sizeof(szoveg), \"Sikeresen beállítottad a Skined %i -ra/-re\", skinid); SendClientMessage(playerid, -1, szoveg);}return 1;}
ShowNameTags(0);
public OnPlayerSpawn(playerid){SetPlayerSkillLevel (playerid, WEAPONSKILL_PISTOL, 2);SetPlayerSkillLevel (playerid, WEAPONSKILL_PISTOL_SILENCED, 2);SetPlayerSkillLevel (playerid, WEAPONSKILL_DESERT_EAGLE, 2);SetPlayerSkillLevel (playerid, WEAPONSKILL_SHOTGUN, 2); SetPlayerSkillLevel (playerid, WEAPONSKILL_SAWNOFF_SHOTGUN, 2);SetPlayerSkillLevel (playerid, WEAPONSKILL_SPAS12_SHOTGUN, 2);SetPlayerSkillLevel (playerid, WEAPONSKILL_MICRO_UZI, 2);SetPlayerSkillLevel (playerid, WEAPONSKILL_MP5, 2);SetPlayerSkillLevel (playerid, WEAPONSKILL_AK47, 2);SetPlayerSkillLevel (playerid, WEAPONSKILL_M4, 2);SetPlayerSkillLevel (playerid, WEAPONSKILL_SNIPERRIFLE, 2);return 1;}
public OnPlayerSpawn(playerid){SetPlayerSkillLevel (playerid, WEAPONSKILL_PISTOL, 1000); ... bla bla bla..return 1;}
ezt a bõvítést nem értem és még kéne valami /animlist magyarul ha nem tudjátok magyarul vagy tudtok linket ahonnan leszedhetem teljesen jó. [/quote]Állítólag mûködikhttp://sampforum.hu/index.php?topic=14095.0