toll gate problem...
#3

Why are you using a loop? This loop went through all players and took -30 bucks 500 times.
pawn Код:
if( IsPlayerInRangeOfPoint( playerid, 10.0,3321.10009766, -2070.80004883, 20.10000038 ) )
{
    GivePlayerMoney( playerid, -30 );
    SendClientMessage( playerid, COLOR_GREEN, "You have paid $30 To pass the Toll" );

     return 1;
}
Reply


Messages In This Thread
toll gate problem... - by niels44 - 20.02.2012, 18:59
Re: toll gate problem... - by niels44 - 21.02.2012, 14:51
Re: toll gate problem... - by Toreno - 21.02.2012, 15:11
Re: toll gate problem... - by Hoborific - 21.02.2012, 15:14
Re: toll gate problem... - by niels44 - 21.02.2012, 15:18
Re: toll gate problem... - by Toreno - 21.02.2012, 15:28
Re: toll gate problem... - by niels44 - 21.02.2012, 15:31
Re: toll gate problem... - by Toreno - 21.02.2012, 15:39
Re: toll gate problem... - by YoungWildFree - 21.02.2012, 15:41
Re: toll gate problem... - by niels44 - 21.02.2012, 16:03

Forum Jump:


Users browsing this thread: 1 Guest(s)