28.04.2011, 17:10
how can i add an hospital interior in my server?
new enterb;
public OnGameModeInit()
{
enterb = CreatePickup(........);
return 1;
}
public OnPlayerPickUpPickup(playerid, pickupid)
{
if(pickupid == enterb)
{
SetPlayerInterior(playerid, id); //replace with the interior ID you want to use
SetPlayerPos(playerid, x, y, z); //replace with the coords
}
return 1;
}