[NEW] Help with Pawno file

Hy, i have a SAMP RP server and i want to add a admin skin, and give admin ARMOUR + HP when he spawn!

Like that:

public OnPlayerSpawn(playerid)
if(PlayerInfo[playerid][pAdmin] > 1)
SetPlayerSkin(playerid, 294);
SetPlayerArmour(playerid, 9999);
SetPlayerHealth(playerid, 9999);

That work! But, once I SPAWN or any admin or player, THE SONG is playing and dont STOP?? WHY! HELP HELP HELp

Wrong section, but:
pawn Код:
PlayerPlaySound(playerid,1186 ,0, 0, 0);
Put that in OnPlayerSpawn.

yeaaaaa!!! YEAA u are a KING :*** It works!

Forum Jump:

Users browsing this thread: 1 Guest(s)