pawn Код:
//No fim de OnPlayerDeath...antes do 'return'
Ambu(playerid);
//No fim do GM
forward Ambu(playerid);
public Ambu(playerid)
{
SetPlayerPos(playerid, 2003.3408,2288.1384,1011.1256);
SetPlayerInterior(playerid, 1);
SetPlayerFacingAngle(playerid, 180.0);
TogglePlayerControllable( playerid, 1);
SetPlayerCameraPos(playerid,2002.6595,2284.1914,1012.5668);
SetPlayerCameraLookAt(playerid,2003.4644,2288.8337,1011.1256);
ResetPlayerWeapons(playerid);
GameTextForPlayer(playerid, "~r~Curando...", 9000, 5);
Irhosp2 = SetTimerEx("HospitalCountdown", 10000, 0, "i", playerid);
return 0;
}
//Em OnGameModeInit
//SE O SEU GM FOR BASE THUG VC PROVAVELMENTE TEM ISSO NO GM, ENTAO DE UMA CONFERIDA ANTES!
CreateDynamicObject(1698, 2002.0, 2285.0, 1010.0, 0.0, 0.0, 0.0);
CreateDynamicObject(1698, 2003.36, 2285.0, 1010.0, 0.0, 0.0, 0.0);
CreateDynamicObject(1698, 2004.72, 2285.0, 1010.0, 0.0, 0.0, 0.0);
CreateDynamicObject(1698, 2002.0, 2288.3, 1010.0, 0.0, 0.0, 0.0);
CreateDynamicObject(1698, 2003.36, 2288.3, 1010.0, 0.0, 0.0, 0.0);
CreateDynamicObject(1698, 2004.72, 2288.3, 1010.0, 0.0, 0.0, 0.0);
CreateDynamicObject(3386, 2001.58, 2285.75, 1010.1, 0.0, 0.0, 180.0);
CreateDynamicObject(3388, 2001.58, 2284.8, 1010.1, 0.0, 0.0, 180.0);
CreateDynamicObject(2146, 2003.3, 2286.4, 1010.6, 0.0, 0.0, 0.0);
CreateDynamicObject(16000, 2001.3, 2281.0, 1007.5, 0.0, 0.0, 270.0);
CreateDynamicObject(16000, 2005.4, 2281.0, 1007.5, 0.0, 0.0, 90.0);
CreateDynamicObject(18049, 2006.0, 2279.5, 1013.05, 0.0, 0.0, 90.0);
CreateDynamicObject(2639, 2005.0, 2285.55, 1010.7, 0.0, 0.0, 90.0);
CreateDynamicObject(3791, 2005.3, 2288.25, 1012.4, 270.0, 0.0, 90.0);
CreateDynamicObject(2174, 2001.7, 2286.74, 1010.1, 0.0, 0.0, 90.0);
CreateDynamicObject(2690, 2001.41, 2287.0, 1011.25, 0.0, 0.0, 90.0);
CreateDynamicObject(2163, 2001.3, 2286.84, 1011.9, 0.0, 0.0, 90.0);
CreateDynamicObject(1789, 2005.1, 2284.1, 1010.7, 0.0, 0.0, 270.0);
CreateDynamicObject(1369, 2001.85, 2283.85, 1010.7, 0.0, 0.0, 90.0);
CreateDynamicObject(3384, 2001.9, 2288.85, 1011.1, 0.0, 0.0, 180.0);
CreateDynamicObject(3395, 2005.3, 2288.32, 1010.05, 0.0, 0.0, 0.0);
CreateDynamicObject(11469, 2008.6, 2294.5, 1010.1, 0.0, 0.0, 90.0);
CreateDynamicObject(2154, 2001.55, 2289.75, 1010.0, 0.0, 0.0, 90.0);
CreateDynamicObject(2741, 2001.4, 2289.65, 1012.0, 0.0, 0.0, 90.0);
CreateDynamicObject(2685, 2001.35, 2289.65, 1011.5, 0.0, 0.0, 90.0);
CreateDynamicObject(18056, 2005.4, 2290.4, 1011.9, 0.0, 0.0, 180.0);
CreateDynamicObject(2688, 2001.4, 2283.85, 1012.0, 0.0, 0.0, 90.0);
CreateDynamicObject(2687, 2005.35, 2286.0, 1012.0, 0.0, 0.0, 270.0);
CreateDynamicObject(16000, 2006.5, 2290.0, 1020.0, 0.0, 180.0, 180.0);
CreateDynamicObject(16000, 1991.0, 2283.4, 1016.0, 0.0, 90.0, 0.0);
CreateDynamicObject(16000, 2015.7, 2283.4, 1016.0, 0.0, 270.0, 0.0);
CreateDynamicObject(1719, 2005.0, 2284.1, 1010.6, 0.0, 0.0, 270.0);
CreateDynamicObject(1718, 2005.1, 2284.1, 1010.73, 0.0, 0.0, 270.0);
CreateDynamicObject(1785, 2005.1, 2284.1, 1010.95, 0.0, 0.0, 270.0);
CreateDynamicObject(1783, 2005.05, 2284.1, 1010.4, 0.0, 0.0, 270.0);
Codigos retirados de um GM muuuuuuito velho q tenho aq de recordaзгo pq eu comecei a codar com ele...