14.07.2011, 11:21
Hello all, i want if the player exists he just spawns at the position: Blablabla...
But if he doesnt exist then applyanimation + showtextdraw etc.
This is my code:
But even if im registered or not, he shows the textdraws . How to fix that?
But if he doesnt exist then applyanimation + showtextdraw etc.
This is my code:
pawn Код:
public OnPlayerSpawn(playerid)
{
if (!dini_Exists(archivo))
{
SetPlayerPos(playerid, 1529.6,-1691.2,13.3);
return 1;
}
else
{
ApplyAnimation(playerid,"SHOP","ROB_Loop_Threat",4.1,1,1,1,1,1);
TextDrawShowForPlayer(playerid,lbt);
TextDrawShowForPlayer(playerid,lbb);
TextDrawShowForPlayer(playerid,choose_text);
return 1;
}
}