Payments for pay n sprays
#1

Hello, I have been looking around but couldn't find anything is it possible like the sprunk machines to let people pay when they enter a pay n spray? is there like a function to add to your gm ?
Reply
#2

https://pastebin.com/zX96D4dA
Reply
#3

Quote:
Originally Posted by GaByM
Посмотреть сообщение
this is a filterscript or include ?
Reply
#4

Quote:
Originally Posted by SacrificeGaming
Посмотреть сообщение
this is a filterscript or include ?
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.

PHP код:
public OnVehicleRespray(playeridvehicleidcolor1color2)
{
    
GivePlayerMoney(playeridGetPlayerMoney(playerid) - 100); // $100 would be deducted when the player resprays the vehicle
    
return 1;

Reply
#5

It's hard thing to edit things over the main function of gta ,i'll give you some ideas. you can make one out of default places, for example , make an DynamicArea , x-y , x1-y1 , or a command , so when player he have to pay and car will be fixed and take money from them
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)