Posts: 74
Threads: 2
Joined: Dec 2009
Reputation:
0
Tem no Gm Larp se procurar vc acha ^^
Posts: 53
Threads: 14
Joined: Apr 2009
Reputation:
0
nгo sei se й isso que vc quer,pra no respawn civil vocк usa esse exemplo:
new Float:gCopPlayerSpawns)[][]={
{2297.1064,2452.0115,10.8203},
{2297.0452,2468.6743,10.8203},
{-1616.0292,685.1239,7.1875},
{-1593.3595,716.5286,-5.2422},
{2252.0337,2488.9016,10.9908},
{2268.0940,2448.4197,3.5313},
{2282.3975,2424.6375,3.4766}
};
// na sua funcao que faz ele logar
new rand = random(sizeof(gCopPlayerSpawns));
SetPlayerPos(playerid, gCopPlayerSpawns[rand][0], gCopPlayerSpawns[rand][1], gCopPlayerSpawns[rand][2]);
SetPlayerFacingAngle(playerid, 270.0);
agora aqui й para nascer no hospital
// onplayerdeath
SetPlayerPos(playerid,coo_do_hospital);
SetPlayerInterior(playerid,interior_id);
SetTimer("SairDoHospital",6000,1);
forward SairDoHospital();
public SairDoHospital()
{
new playerid;
SetPlayerPos(playerid,onde_voce_quer_que_ele_saia) ;
SetPlayerInterior(playerid,interior_id);
return 1;
}