09.08.2011, 19:16
(
Последний раз редактировалось JaTochNietDan; 10.08.2011 в 01:56.
Причина: Use the edit button.
)
thanks, you are awesome
its working perfectly and all, thx very much.
edit: i just noticed, if i try to compile, it gives me an error:
C:\Users\Dominic\Desktop\Music!\GTAM\gamemodes\gta-mods.pwn(924) : error 017: undefined symbol "GetPlayerDistanceFromPoint"
how can that be and how can i add it, since its a default SAMP funtion usually?
And somehow, although it works, i have to sit in the vehicle to ge tit to work. Its meant to work like that im in a radius of 10.0 AROUND the vehicle to work, i though (and your code looks like this, too) but somehow it will tell me 'you are not close to a car' always, when im not sitting directly IN the car as driver or passenger. and i already looked, there is no PlayerState with state 1/2 included in any of the stock functions (GetClosest vehicle, GetPlayerDistanceFrompoint and GetDistanceBetweenPoints) so i really dont know how to fix that issue.
Ђdit: sry 4 double-post, i wa smeant to click 'edit' but hit 'quote', maybe an admin can joint the two posts to one?

its working perfectly and all, thx very much.
edit: i just noticed, if i try to compile, it gives me an error:
C:\Users\Dominic\Desktop\Music!\GTAM\gamemodes\gta-mods.pwn(924) : error 017: undefined symbol "GetPlayerDistanceFromPoint"
how can that be and how can i add it, since its a default SAMP funtion usually?
And somehow, although it works, i have to sit in the vehicle to ge tit to work. Its meant to work like that im in a radius of 10.0 AROUND the vehicle to work, i though (and your code looks like this, too) but somehow it will tell me 'you are not close to a car' always, when im not sitting directly IN the car as driver or passenger. and i already looked, there is no PlayerState with state 1/2 included in any of the stock functions (GetClosest vehicle, GetPlayerDistanceFrompoint and GetDistanceBetweenPoints) so i really dont know how to fix that issue.
Ђdit: sry 4 double-post, i wa smeant to click 'edit' but hit 'quote', maybe an admin can joint the two posts to one?