Help system for admin - 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: Help system for admin (
/showthread.php?tid=629792)
Help system for admin -
Franklin0180 - 04.03.2017
Hi folks from the sa-mp forum, I wanted your help to make a system works as follows:
The admin when in work mode, will have the car indestructible, Example: I give (/ work) and I enter a car, if I stay beating him or taking shots, he will not lose life nor break, and also when I am mode Work and get into a car with 1% life and all broken, he get it together.
This is personal if anyone can do this command, I will be very grateful.
Note: If anyone knows of a dealer system for free players, I will be very grateful as well.
Re: Help system for admin -
Toroi - 04.03.2017
This is the script help section, we can help you with bugs or problems regarding a script you've made. So, read a couple guides, make it yourself and return here when you get 200 errors.
These articles can guide you through the creation of the function you want to make:
https://sampwiki.blast.hk/wiki/Control_Structures
https://sampwiki.blast.hk/wiki/Scripting_Basics#Variables
https://sampwiki.blast.hk/wiki/OnPlayerCommandText
https://sampwiki.blast.hk/wiki/OnPlayerStateChange
https://sampwiki.blast.hk/wiki/OnVehicleDamageStatusUpdate
https://sampwiki.blast.hk/wiki/RepairVehicle
https://sampwiki.blast.hk/wiki/SetPlayerHealth