[AJUDA]Uns checkpoints
#2

pawn Код:
new Check; //Topo GM
pawn Код:
dcmd(irota, 5, cmdtext); //OnPlayerCommandText
pawn Код:
dcmd_irota(playerid, params[]) //Final GM
{
     if(Prof[playerid] != Motorista) return SendClientMessage(playerid, -1, "[!] Vocк nгo й Motorista de Фnibus!");
     Check = SetPlayerCheckpoint(playerid, X, Y, Z, 3.0);
     return 1;
}
pawn Код:
public OnPlayerEnterCheckpoint(playerid)
{
   if(Check[playerid] == 1)
   {
    if (IsPlayerInCheckpoint(playerid) && !IsPlayerInAnyVehicle(playerid))
    {
     SendClientMessage(playerid, -1, "Check Conquistado!");
     GivePlayerMoney(playerid, 500);
     DisablePlayerCheckpoint(playerid);
     return 1;
    }
    return 1;
   }
   return 1;
}
Reply


Messages In This Thread
[AJUDA]Uns checkpoints - by FireScript - 05.07.2011, 21:39
Re: [AJUDA]Uns checkpoints - by Macintosh - 05.07.2011, 21:54
Re: [AJUDA]Uns checkpoints - by Shadoww5 - 05.07.2011, 21:55
Re: [AJUDA]Uns checkpoints - by FireScript - 06.07.2011, 01:22
Re: [AJUDA]Uns checkpoints - by TheGarfield - 06.07.2011, 01:28
Re: [AJUDA]Uns checkpoints - by FireScript - 06.07.2011, 01:42
Re: [AJUDA]Uns checkpoints - by FireScript - 06.07.2011, 02:13

Forum Jump:


Users browsing this thread: 1 Guest(s)