21.02.2018, 15:41
Yeaah, No.
I think you would want to charge the player when he resprays the vehicle and not when he enter the Pay n' Spray.
I think you would want to charge the player when he resprays the vehicle and not when he enter the Pay n' Spray.
PHP код:
public OnVehicleRespray(playerid, vehicleid, color1, color2)
{
GivePlayerMoney(playerid, GetPlayerMoney(playerid) - 100); // $100 would be deducted when the player resprays the vehicle
return 1;
}