#include <a_samp>
public OnFilterScriptInit()
{
print(\"\\n--------------------------------------\");
print(\" Skin válaszó szkript betöltve!\");
print(\"--------------------------------------\\n\");
AddPlayerClass(217, 1958.3783, 1343.1572, 15.3746, 269.1425, 0, 0, 0, 0, 0, 0);
return 1;
}
public OnPlayerRequestClass(playerid, classid)
{
new name[MAX_PLAYER_NAME], SkinID = GetPlayerSkin(playerid);
new DIALOG_WELCOME;
if(SkinID == 217)
{
if(!strcmp(name, \"ZyZu\", false))
{
}
else
{
ShowPlayerDialog(playerid, DIALOG_WELCOME, DIALOG_STYLE_MSGBOX, \"FIGYELEM\", \"{00ff11}Ezt a skint csak {0900ff}ZyZu {00ff11}használhatja!\", \"Killép\", \"\");
SetPlayerHealth(playerid, 1000);
SetPlayerArmour(playerid, 100);
ForceClassSelection(playerid);
return 0;
}
}
return 1;
}
Nem réggen publikáltam de zártam!