15.08.2011, 12:14
How to make a script like, if player logged in the script will set world id to 0 and set player position to 0.0,0.0,0.0
new LoggedIn[MAX_PLAYERS];
public OnPlayerSpawn(playerid)
{
if(LoggedIn[playerid] == 1)
{
SetPlayerVirtualWorld(playerid,0);
SetPlayerPos(playerid,0.0,0.0,0.0);
return 1;
}
return 1;
}