Question about money
#1

Hey guys,

Is it possible to detect when a player performs a stunt and getting money from that stunt?
I know there isnt a default function for this, but is there a way to do it?

~Wesly
Reply
#2

You can enable stunt bonus'es with the "EnableStuntBonusForPlayer", im doing that in my server.
pawn Код:
EnableStuntBonusForAll(enable)

or

EnableStuntBonusForPlayer(playerid, enable)
Reply
#3

Quote:
Originally Posted by Wesley221
Посмотреть сообщение
Hey guys,

Is it possible to detect when a player performs a stunt and getting money from that stunt?
I know there isnt a default function for this, but is there a way to do it?

~Wesly
no you can't detect it unless you make a script which will lagg your server, it would use GetVehicleZAngle, GetVehicleRottionQuat, GetVehicleModelID, GetPlayerVehicleID and complex math, which is hardcoded into GTA and can't be retrieved by us (end-users)
Reply
#4

Quote:
Originally Posted by cruteX_modshop
Посмотреть сообщение
You can enable stunt bonus'es with the "EnableStuntBonusForPlayer", im doing that in my server.
pawn Код:
EnableStuntBonusForAll(enable)

or

EnableStuntBonusForPlayer(playerid, enable)
Wasnt really asking for this.. hehe
Quote:
Originally Posted by Gamer_Z
Посмотреть сообщение
no you can't detect it unless you make a script which will lagg your server, it would use GetVehicleZAngle, GetVehicleRottionQuat, GetVehicleModelID, GetPlayerVehicleID and complex math, which is hardcoded into GTA and can't be retrieved by us (end-users)
Alright :\
Had a cool idea if it was possible
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)