How can I make this an admin punishment? - 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: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: How can I make this an admin punishment? (
/showthread.php?tid=239627)
How can I make this an admin punishment? -
grand.Theft.Otto - 14.03.2011
You may have seen on CrazyBobs CnR that he has a new admin chicken, which punishes a player. The chicken (object id 16776) chases the player for as long as the player can drive/run for and shows a total time the player lived for until the chicken killed him.
I was wondering how I could make something like this, except I want it to be a dumper truck that chases the person (because it is a very large and effective vehicle).
Thanks.
Re: How can I make this an admin punishment? -
Kitten - 14.03.2011
Use a NPC for dumper car.
Re: How can I make this an admin punishment? -
grand.Theft.Otto - 14.03.2011
How would I set it up into a command though. I know how to make the command but how would I get the NPC to follow the player when I execute the command?
Re: How can I make this an admin punishment? -
Tee - 14.03.2011
Creating a timer that sets the pos of the npc to the pos of the player. Like set it for 1 second and get the npcs pos then set it to the pos of the player. So if the player stops. And the pos of the player is same as pos of NPC, SetPlayerHealth(theplayerid,0.0);
Re: How can I make this an admin punishment? -
grand.Theft.Otto - 14.03.2011
I understand what you mean but I don't know how to do it
Do you know how to do it?
But you don't have to do it if you don't want to.
Re: How can I make this an admin punishment? -
Roomeo - 14.03.2011
Well I Have Seen Somethin in The Forums Ahm.. oh Yes StalkerCows Try to Edit IT
Re: How can I make this an admin punishment? -
Stefan_Toretto - 14.03.2011
StalkerCows uses the Cow object not a vehicle...
Using SetPlayerPos to set a NPC Position will look ugly...
Maybe better to use CNPC Plugin, it has some useful functions to move the NPC's