Sziasztok!Azt hogy lehetne megoldani hogy amikor lespawnolok a zene leálljon ??
De van nekem ez a kódom : (ami kell+a zene leállítás is) public OnPlayerSpawn(playerid)
{
if(IsPlayerNPC(playerid))
{
new botname[MAX_PLAYER_NAME];
GetPlayerName(playerid, botname, sizeof(botname));
if(!strcmp(botname, \"Katy_Perry\", true)) //Kijken of de naam klopt
{
SetPlayerSkin(playerid, 93);
ResetPlayerWeapons(playerid);
return 1;
}
else if(!strcmp(botname, \"Chuck_Norris\", true)) //Kijken of de naam klopt
{
SetPlayerSkin(playerid, 189);
ResetPlayerWeapons(playerid);
return 1;
}
else if(!strcmp(botname, \"Nicki_Minaj\", true)) //Kijken of de naam klopt
{
SetPlayerSkin(playerid, 139);
ResetPlayerWeapons(playerid);
return 1;
}
else if(!strcmp(botname, \"Bruno_Mars\", true)) //Kijken of de naam klopt
{
SetPlayerSkin(playerid, 84);
ResetPlayerWeapons(playerid);
return 1;
}
return 1;
}