Ajuda ( Pedagio ) e.e
#2

tente assim:

pawn Код:
new pedagio[MAX_PLAYERS];

public OnPlayerUpdate(playerid)
{
    if(IsPlayerInRangeOfPoint(playerid, 7.0,62.5154,-1533.2170,5.1818))
    {
        if(pedagio[playerid] == 0)
        {
            new string[50];
            format(string, sizeof(string), "Pegбgio pago: 25 reais!");
            GameTextForPlayer(playerid, string, 3000, 4);
            GivePlayerMoneyEx(playerid, -25);
            pedagio[playerid] = 1;
        }
    }
    else pedagio[playerid] = 0;
    return 1;
}
Reply


Messages In This Thread
Ajuda ( Pedagio ) e.e - by Baigou - 02.12.2011, 03:33
Re: Ajuda ( Pedagio ) e.e - by FreeGells - 02.12.2011, 05:30
Re: Ajuda ( Pedagio ) e.e - by |_MeGaTroN_| - 02.12.2011, 10:27
Re: Ajuda ( Pedagio ) e.e - by dPlaYer_ - 02.12.2011, 10:33
Re: Ajuda ( Pedagio ) e.e - by |_MeGaTroN_| - 02.12.2011, 10:36
Re: Ajuda ( Pedagio ) e.e - by ViniBorn - 02.12.2011, 11:53
Re: Ajuda ( Pedagio ) e.e - by $_Pooweer_$ - 02.12.2011, 12:41

Forum Jump:


Users browsing this thread: 2 Guest(s)