Pay'N'Spray as Passenger - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP (
https://sampforum.blast.hk/forumdisplay.php?fid=3)
+--- Forum: Bug Reports (
https://sampforum.blast.hk/forumdisplay.php?fid=20)
+--- Thread: Pay'N'Spray as Passenger (
/showthread.php?tid=168237)
Pay'N'Spray as Passenger -
Manuel1948 - 15.08.2010
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
Re: Pay'N'Spray as Passenger -
Slice - 15.08.2010
Temporary solution:
pawn Code:
public OnVehicleRespray( playerid, vehicleid, color1, color2 )
{
if ( GetPlayerState( playerid ) != PLAYER_STATE_DRIVER && GetPlayerMoney( playerid ) >= 100 )
GivePlayerMoney( playerid, 100 );
return 1;
}
AW: Pay'N'Spray as Passenger -
Manuel1948 - 15.08.2010
Yes i know this, but i dont have running a server, I play on a server. But i only want to report this problem
Re: Pay'N'Spray as Passenger -
Lewwy - 15.08.2010
Best thing to do is let the server scripter know for now.
Re: Pay'N'Spray as Passenger -
Sergei - 15.08.2010
Quote:
Originally Posted by omgSlice
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:
And it's called when you view color in modshop not buy it, so useless basically.
Re: Pay'N'Spray as Passenger -
Slice - 15.08.2010
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.