29.04.2012, 07:06
(
Последний раз редактировалось DemonChris; 29.04.2012 в 19:42.
)
Oi,Galera Tipo eu fiz um hospital talzs e queria que quando o player morre ele fosse pra o hospital e nao para a HQ Dele entao se alguem puder me ajudar com isso vlw's : D
Code Do Nascimento :
i eu quero que quando o player morra que ele vб pra essa coordenada aqui :
Code Do Nascimento :
Код:
if (PlayerInfo[playerid][pMembro] == 21 || PlayerInfo[playerid][pLider] == 21)//Mongols-MC Nascimento { GivePlayerWeapon(playerid, 24, 70); GivePlayerWeapon(playerid, 29, 120); SetPlayerVirtualWorld(playerid,0); SetPlayerInterior(playerid, 0); SetPlayerPos(playerid, 2820.7913,-1535.5409,11.0938);//No Caso esse й o que leva o player pra hq SetPlayerFacingAngle(playerid,2.9314); PlayerInfo[playerid][pInt] = 0; return 1; }
Код:
SetPlayerPos(playerid, 1175.3998,-1363.6211,-37.8606); SetPlayerFacingAngle(playerid, 264.0441); SetPlayerCameraPos(playerid,1175.12,-1366.66,-34.82); SetPlayerCameraLookAt(playerid,1175.17,-1367.28,-34.00); ApplyAnimation(playerid,"CRACK","crckdeth2",4.1,0,1,1,1,1); TogglePlayerControllable(playerid, 0); PlayerInfo[playerid][pInt] = GetPlayerInterior(playerid); SetPlayerInterior(playerid, 0);