[Ajuda] Checar se a posiзгo na conta do player for maior que 0...
#1

Resolvido

era apenas mudar o >= para o !=
Reply
#2

Uййй...
Код:
if(PlayerInfo[playerid][pPosicao][0] > 0.0 && PlayerInfo[playerid][pPosicao][1] > 0.0 && PlayerInfo[playerid][pPosicao][2] > 0.0)
{
	SetPlayerPos(playerid, PlayerInfo[playerid][pPosicao][0],PlayerInfo[playerid][pPosicao][1],PlayerInfo[playerid][pPosicao][2]);
}
else
{
	SendClientMessage(playerid, -1, "Vocк nгo possui uma posiзгo de spawn salva.");
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)