22.08.2013, 16:59
public OnPlayerDeath(playerid, killerid, reason)
{
Hospital[playerid] = 1;
new string[256];
RemovePlayerAttachedObject(playerid,3);
RemovePlayerAttachedObject(playerid, 3);
new Floatx,Floaty,Floatz;
PlayerInactivity[playerid] = 0;
//DropWeapons(playerid);
//DropVida(playerid);
//DropGrana(playerid);
gPlayerSpawned[playerid] = 0;
PlayerInfo[playerid][pLocal] = 255;
SetPlayerPos(playerid, 1176.9781,-1323.1548,14.0480);
SetPlayerInterior(playerid, 0);
GetPlayerPos(playerid, px, py, pz);
spawnado[playerid] = 0;
...
{
Hospital[playerid] = 1;
new string[256];
RemovePlayerAttachedObject(playerid,3);
RemovePlayerAttachedObject(playerid, 3);
new Floatx,Floaty,Floatz;
PlayerInactivity[playerid] = 0;
//DropWeapons(playerid);
//DropVida(playerid);
//DropGrana(playerid);
gPlayerSpawned[playerid] = 0;
PlayerInfo[playerid][pLocal] = 255;
SetPlayerPos(playerid, 1176.9781,-1323.1548,14.0480);
SetPlayerInterior(playerid, 0);
GetPlayerPos(playerid, px, py, pz);
spawnado[playerid] = 0;
...