23.03.2015, 05:58
hi, can you help me with this? If player died . i want to spawn it at two random LS Hospital.
public OnPlayerDeath(playerid, killerid, reason)
{
return 1;
}
public OnPlayerSpawn(playerid)
{
SetPlayerPos(playerid, 2026.0083,-1422.5580,16.9922); //LS Hospital at Grove Street
SetPlayerPos(playerid, 1184.7742,-1323.9717,13.5737); //LS Hospital near Ammunation
return 1;
}
public OnPlayerDeath(playerid, killerid, reason)
{
return 1;
}
public OnPlayerSpawn(playerid)
{
SetPlayerPos(playerid, 2026.0083,-1422.5580,16.9922); //LS Hospital at Grove Street
SetPlayerPos(playerid, 1184.7742,-1323.9717,13.5737); //LS Hospital near Ammunation
return 1;
}