23.04.2014, 03:48
Podria funcionar ? ;c
pawn Код:
#include <a_samp>
new Spawn[MAX_PLAYERS];
public OnPlayerConnect(playerid)
{
Spawn[playerid] = 0;
return 1;
}
public OnPlayerSpawn(playerid)
{
Spawn[playerid] = 1;
if(Spawn[playerid] == 1)
{
SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746);// si ya ha hecho spawn
}
else
{
SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746);// si no ha hecho spawn
}
return 1;
}