24.05.2016, 22:56
you can use a timer example
PHP код:
public OnPlayerSpawn(playerid)
{
SetPlayerVirtualWorld(playerid, 10000);
SetTimerEx("DefaultWorld", 5000, false, "i", playerid);// 5000 => 5000 MS ( 5 second )
}
forward DefaultWorld(playerid);
public DefaultWorld(playerid);
{
SetPlayerVirtualWorld(playerid, 0);
return 1;
}