Hide Skill Menu
#1

when a player first connects to the server and he/she inputs the right password he chooses his skill but when he dies and spawns again the dialog shows again all what i want is to hide the dialog when he spawns but his skill is to be like what he chose when he first connected to the server
Reply
#2

Then move it to
OnPlayerConnect from OnPlayerSpawn
Reply
#3

or a Simple Veriable

pawn Код:
//Gloabal Veriable
new bool:Spawned[MAX_PLAYERS] = false;

//Under OnPlayerSpawn
if(!Spawned[playerid])
{
    //Your Code goes here
    Spawned[playerid] = true;
}

// OnPlayerDisconnect
Spawned[playerid] = false;
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)