[Ajuda] [ERROR] Morre nasce no Hospital,
#8

Tente este cуdigo

OnPlayerDeath
pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
   gPM[playerid] = 1;
   kit[playerid] = 0;
   SendDeathMessage(killerid, playerid, reason);
   trabalhandoPM[playerid] = 0;
   trabalhandoRGT[playerid] = 0;
   trabalhandoTRF[playerid] = 0;
   return 1;
}
OnPlayerSpawn
pawn Код:
public OnPlayerSpawn(playerid)
{
 if(PlayerInfo[playerid][pTRF] < 0)
 {
     if(gPM[playerid])
     {
        SetPlayerPos(playerid,2030.2041, -1418.1321, 16.9922); // Hospital LS
        gPM[playerid] = 0;
     }
  }
  return 1;
}
Reply


Messages In This Thread
[ERROR] Morre nasce no Hospital, - by Liipiinhow - 08.10.2013, 01:07
Re: [ERROR] Morre nasce no Hospital, - by willttoonn - 08.10.2013, 03:41
Re: [ERROR] Morre nasce no Hospital, - by Liipiinhow - 08.10.2013, 19:21
Re: [ERROR] Morre nasce no Hospital, - by bruxo00 - 08.10.2013, 19:26
Re: [ERROR] Morre nasce no Hospital, - by Liipiinhow - 08.10.2013, 19:46
Re: [ERROR] Morre nasce no Hospital, - by bruxo00 - 08.10.2013, 19:54
Re: [ERROR] Morre nasce no Hospital, - by Liipiinhow - 08.10.2013, 20:50
Re: [ERROR] Morre nasce no Hospital, - by willttoonn - 09.10.2013, 01:54
Re: [ERROR] Morre nasce no Hospital, - by Liipiinhow - 09.10.2013, 13:05
Re: [ERROR] Morre nasce no Hospital, - by willttoonn - 09.10.2013, 19:51

Forum Jump:


Users browsing this thread: 3 Guest(s)