IsPlayerInRangeOfPoint - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: IsPlayerInRangeOfPoint (
/showthread.php?tid=629641)
IsPlayerInRangeOfPoint -
Edwin2801 - 01.03.2017
Hey, everybody)
Can anybody explain me wat's the problem in
this code?
When I Pick Up my pickup, amx_Exec returns to me 1 anyway from function "GetPosit"..
If I disconnect from my server, log doesn't stop:
Код HTML:
[14:59:40] onpick = 1
[14:59:41] onpick = 1
[14:59:42] onpick = 1
[14:59:43] onpick = 1
[14:59:44] onpick = 1
[14:59:45] onpick = 1
[14:59:47] onpick = 1
[14:59:48] onpick = 1
[14:59:49] onpick = 1
[14:59:50] onpick = 1
[14:59:51] onpick = 1
What is it?? What should I do?
Re: IsPlayerInRangeOfPoint -
haikalbintang - 02.03.2017
Put this :
PHP код:
logprintf("onpick = %i", onpick);
Out from the loop
Re: IsPlayerInRangeOfPoint -
Edwin2801 - 02.03.2017
Quote:
Originally Posted by haikalbintang
Put this :
PHP код:
logprintf("onpick = %i", onpick);
Out from the loop 
|
No, it does not help
Re: IsPlayerInRangeOfPoint -
Edwin2801 - 02.03.2017
Anyone versed in the plugins?
Re: IsPlayerInRangeOfPoint -
Lbaker - 02.03.2017
Run with crashdetect and put logs here.
Re: IsPlayerInRangeOfPoint -
Edwin2801 - 02.03.2017
Crashdetect included, there is no log messages..
Re: IsPlayerInRangeOfPoint -
Edwin2801 - 03.03.2017
Can anybody help me??
Re: IsPlayerInRangeOfPoint -
haikalbintang - 03.03.2017
Quote:
Originally Posted by Edwin2801
No, it does not help
|
Add break; after logprintf
Re: IsPlayerInRangeOfPoint -
Edwin2801 - 03.03.2017
It's did not help..
I did this through the another function, by recursion, by loop, the result is the same...