Lagshot in a virtual world? - 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: Lagshot in a virtual world? (
/showthread.php?tid=584484)
Lagshot in a virtual world? -
Ghazal - 05.08.2015
Hey,
So lets say I have a skinhit server, is it possible to make a command /lagshot which changes the virtual world and enables lagshot instead of skinhit?
Re: Lagshot in a virtual world? -
[KHK]Khalid - 05.08.2015
Yeah, I think it's possible with the use of OnPlayerTakeDamage, but I haven't tested how the callback functions when lagcomp is enabled though.
Re: Lagshot in a virtual world? -
Ghazal - 05.08.2015
Quote:
Originally Posted by [KHK]Khalid
Yeah, I think it's possible with the use of OnPlayerTakeDamage, but I haven't tested how the callback functions when lagcomp is enabled though.
|
I would need an example, please.
Re: Lagshot in a virtual world? -
SickAttack - 05.08.2015
You cannot change lagcomp (SA:MP's) within the game. You would have to create a server sided skinhit system to create such command and feature.