22.11.2009, 09:50
Just a example.
Note: Copying and Pasting this script will not work, even though the script might be wrong I'm just giving a example.(I Suck in PAWNO)
pawn Код:
public OnPlayerLogin/Spawn(playerid);
{
if(HasAHouse(playerid) == 1)
SetPlayerPos(playerid, doorx,doory,doorz);
}
}
else if(HasAHouse(playerid) == 0)
SetPlayerPos,(playerid, [randSpawn][0], [randSpawn][1], [randSpawn][2]
}
return 1;
}