Players dont spawn at hospital when killed/die
#7

Copy That OnPlayerDeath
///////////
If You Want When Player Die GOTO LS Hospital Copy This To PLayer Death
pawn Код:
SetPlayerPos(playerid, 1178.1700,-1323.8579,14.1068);
SetPlayerFacingAngle(playerid, 268.9846);
If You Want When Player Die GOTO SF Hospital Copy This To PLayer Death
pawn Код:
SetPlayerPos(playerid, -2654.4163,634.4133,14.4531);
SetPlayerFacingAngle(playerid, 178.7854);
If You Want When Player Die GOTO LVHospital Copy This To PLayer Death
pawn Код:
SetPlayerPos(playerid, 164,1607.8773,1819.8993,10.8280);
SetPlayerFacingAngle(playerid, 2.2936);
\\\\\\\\\\\\

Copy That On Player Disconnect, But Try Not To Restart The Server So He Can Spawn from where he disconnect

pawn Код:
//Put That On The Top Of The Script
new XX, YY, ZZ

//On Player Disconnect
GetPlayerPos(playerid, XX, YY, ZZ);

//On Player Spawn
SetPlayerPos(playerid, XX, YY, ZZ);
IF THERE IS ANY BUG U CAN CONTACT ME

Thank You...
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)