please help me
#1

i have a borderpoint script , with a paguj command to pay the customs to open the gate
but when i pay the money , money back again to me
Can anynone help me ?
sorry for english
+rep if u help me



PHP код:
COMMAND:paguj(playerid,params[])
{
    if(
TollsLocked == 1) return SendClientMessage(playeridCOLOR_RED"OPERATOR: Tolls have been locked upon command. Sorry about that!");
    {
                if(
IsPlayerInRangeOfPoint(playerid,1060.4100, -1540.41855.0777))
            {
        if(
Flint1Status == 0)
                 {
                  new 
string[128];
                  
GivePlayerMoney(playerid, -2500);
                  
SetObjectRotFlint100, -90 );
                  
SendClientMessage(playeridCOLOR_RED"Toll Operator: Thank you for your payment! You may now proceed.");
                  
SendClientMessage(playeridCOLOR_WHITE"(( Kufini Do Te Mybllet per 10 Sekonda! ))");
                  
SetTimer("closetollflint1"10000true);
                  
format(stringsizeof(string), "%s pagajti  250 dollar kufini."RemoveUnderScoreplayerid ));
                  
ProxDetector(20.0playeridstringCOLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
                  
Flint1Status 1;
                 }
            } 
Reply


Messages In This Thread
please help me - by Rafaeloo - 29.02.2016, 21:18
Re: please help me - by Rafaeloo - 29.02.2016, 21:26
Re: please help me - by saffierr - 29.02.2016, 23:47

Forum Jump:


Users browsing this thread: 1 Guest(s)