02.12.2011, 11:53
pawn Код:
new PedagioPago[MAX_PLAYERS];
public peda()
{
for(new i = 0; i < GetMaxPlayers(); i++)
{
if(PedagioPago[playerid] || !IsPlayerInAnyVehicle(playerid))
continue;
if(IsPlayerInRangeOfPoint(i, 7.0,62.5154,-1533.2170,5.1818))
{
GameTextForPlayer(i, "Pegбgio pago: 25 reais!", 3000, 4);
GivePlayerMoneyEx(i,-25);
}
}
return 1;
}