speed gun filterscript problem
#1

hey guys, i made a filterscript where if the person aims at a vehicle, it would return the speed of the closest vehicle.

at the minute im using key_fire to initialize it, but it doesnt work.

heres the code:

http://pastebin.com/G2cZLUH4

thanks
Reply
#2

Quote:
Originally Posted by [FU]Victious
Посмотреть сообщение
hey guys, i made a filterscript where if the person aims at a vehicle, it would return the speed of the closest vehicle.

at the minute im using key_fire to initialize it, but it doesnt work.

heres the code:

http://pastebin.com/G2cZLUH4

thanks
Ofcourse it does not work. You would need to fire at a vehicle to get the speed. Try with KEY_HANDBRAKE or 128.
Reply
#3

Quote:
Originally Posted by DeathOnaStick
Посмотреть сообщение
Ofcourse it does not work. You would need to fire at a vehicle to get the speed. Try with KEY_HANDBRAKE or 128.
Yes, you will need to fine something else besides "KEY_FIRE", because you would need to
fire at it for the gametext/ textdraw to show up.

Key list:

https://sampwiki.blast.hk/wiki/GetPlayerKeys
Reply
#4

Quote:
Originally Posted by Las Venturas CNR
Посмотреть сообщение
Yes, you will need to fine something else besides "KEY_FIRE", because you would need to
fire at it for the gametext/ textdraw to show up.

Key list:

https://sampwiki.blast.hk/wiki/GetPlayerKeys
yeah i have, i think ill just release it anyway
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)