Ajuda Hospital
#2

Para que o teu source nгo esteja a funcionar bem, sу vejo este problema:

pawn Code:
public OnPlayerConnect(playerid) {
    MedicBill[playerid] = 1;
    return true; }
Portanto, deixo-te aquilo um possivel source:

pawn Code:
#include a_samp

#define MAX_SERVER_PLAYERS 500

new
    MedicBill[MAX_SERVER_PLAYERS];

public OnPlayerConnect(playerid) {
    MedicBill[playerid] = 0; // Repara
    return true; }
   
public OnPlayerDeath(playerid, killerid, reason) {
  MedicBill[playerid] = 1;
  return true; }
   
public OnPlayerSpawn(playerid) {
    if(MedicBill[playerid] == 1) {
      SetPlayerPos(playerid, Float:X, Float:Y, Float:Z); } // Spawnposition: Hospital
    return true; }

/* EOS */
ps. Criei uma nova conta para ver se vos ajudo...
Reply


Messages In This Thread
Ajuda Hospital - by [NoD]Gui - 29.12.2009, 17:22
Re: Ajuda Hospital - by pmkrz - 29.12.2009, 17:42
Re: Ajuda Hospital - by Eddye - 16.02.2015, 01:27

Forum Jump:


Users browsing this thread: 1 Guest(s)