SA-MP Forums Archive
custom.img file checking - 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)
+---- Forum: Discussion (https://sampforum.blast.hk/forumdisplay.php?fid=84)
+---- Thread: custom.img file checking (/showthread.php?tid=388950)



custom.img file checking - ShOoBy - 31.10.2012

Hey.

I have a custom.img file with a few mods made by me. There are just a few objects (10-20) but I have 2 or 3 teleports where the player must have that custom.img file to acces them (if they do not have it they will just fall and see nothing special).

Is there any way I can check if the player has it? I saw this on a server, so I think it is, now the question is how.. ?
Thanks in advance!


Re: custom.img file checking - fiki574 - 31.10.2012

Yes, you can do that with a plugin!


Re: custom.img file checking - Vince - 31.10.2012

Put players on one of your solid custom objects, in the sky. Check Z coord after 1 second. If it's decreased by more than 10 from the locatoin of the object, then the player most likely doens't have your file (falling down).


Re: custom.img file checking - ExpertSahil - 31.10.2012

No its not possible brother, not with any plugin also


Re: custom.img file checking - Joe Staff - 31.10.2012

I think Vince's method will work fine.


Re: custom.img file checking - MicroD - 01.11.2012

Yeah Vince's method will work, I already tried it.
By the way, + for idea : >