What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

How to set plugin to respawn when dead , and stand up

baoky

New Member
Joined
Sep 20, 2014
Messages
36
Reaction score
0
How to set plugin to respawn when dead , and stand up


Normally if the bot is dead, it will respawn at NUI after 300 seconds counter. is there a way to just use bot to respawn without wait the 300 seconds.


And when respawn at nui, the bot will be sleeping on floor, how to make bot stand up .
 
Code:
ResToRespoint();
Thread.Sleep(10000);
MoveForward(true);
Thread.Sleep(500);
MoveForward(false);
 
how about res the bot then return to where you died? how to add that in
 
You need to make a path from the nui to the spawn you're farming then use
Code:
                    Gps gps = new Gps(this);
                    gps.LoadDataBase(Application.StartupPath + "YOUR .DB3 PATH");
                    gps.GpsMove("NAME OF END OF PATH");
 
Code:
ResToRespoint();
Thread.Sleep(10000);
MoveForward(true);
Thread.Sleep(500);
MoveForward(false);


cs(8,1) : error CS0116: A namespace cannot directly contain members such as fields or methods

is the error i get when i add that code
 
nekrage, that is not how a program works, you can't just put that anywhere and it magically works, a (simple) program is a step by step thing.
-
You need to add that somewhere it makes sense, somewhere inside the executing loop (sorry i am trying to make the explanation simple, but this is as far as i can take it)

its like a recipe that is followed line by line, you need to add that somewhere there.

read some basic c# or some basic plugins.
 
Back
Top