02.08.2011, 12:32
My sound doesn't stop anymore!
Код:
public OnPlayerRequestClass(playerid, classid) { PlayerPlaySound(playerid, 1183, 0.0, 0.0, 0.0);
Код:
public OnPlayerSpawn(playerid) { if(PlayerInfo[playerid][pAdmin] >= 1) { ForceClassSelection(playerid); SendClientMessageToAll(COLOR_RED,"Welcome back, Master!"); return true; } else if(gFirstTimeHasJoined[playerid]) { ForceClassSelection(playerid); SpawnPlayer(playerid); SendClientMessage(playerid,COLOR_RED,"Choose your skin carefully! You can't change it anymore after this!"); return true; } else if(gPlayerSkinForEver[playerid]) { GetPlayerSkin(playerid); SendClientMessage(playerid,COLOR_RED,"You are already in a gang!"); } PlayerPlaySound(playerid, 1186, 0.0, 0.0, 0.0);