[NEW] Help with Pawno file
#1

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(IsPlayerConnected(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
Reply
#2

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

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


Forum Jump:


Users browsing this thread: 1 Guest(s)