Pay'N'Spray as Passenger
#1

Hi!
There is still the bug if I am passenger in a car and the driver drive in pay n spray that i also have to pay. Please fix this soon in 0.3b
Reply
#2

Temporary solution:
pawn Code:
public OnVehicleRespray( playerid, vehicleid, color1, color2 )
{
    if ( GetPlayerState( playerid ) != PLAYER_STATE_DRIVER && GetPlayerMoney( playerid ) >= 100 )
        GivePlayerMoney( playerid, 100 );
   
    return 1;
}
Reply
#3

Yes i know this, but i dont have running a server, I play on a server. But i only want to report this problem
Reply
#4

Best thing to do is let the server scripter know for now.
Reply
#5

Quote:
Originally Posted by omgSlice
View Post
Temporary solution:
pawn Code:
public OnVehicleRespray( playerid, vehicleid, color1, color2 )
{
    if ( GetPlayerState( playerid ) != PLAYER_STATE_DRIVER && GetPlayerMoney( playerid ) >= 100 )
        GivePlayerMoney( playerid, 100 );
   
    return 1;
}
If only people could read:
Quote:

Only called for modshops

And it's called when you view color in modshop not buy it, so useless basically.
Reply
#6

Oh, yeah I can't read. Anyways, i suppose you could detect if a player lost $100 then compare the position to all the Pay 'n' Spray shops.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)