Problems Bots - 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: Problems Bots (
/showthread.php?tid=408746)
Problems Bots -
NacnuD - 19.01.2013
Hello, I have a problem with the pawno, can not I add Bots in GM RolePlay. It happens with all GM. But with GM Freeroam add bots normally. How can I do? When I try to enter bots, he spawn in coordinates 0.000 0.000 0.000.
Re: Problems Bots -
MyNinja - 19.01.2013
Did you set the spawn coords for the bot?
Re: Problems Bots -
captainjohn - 19.01.2013
Try setting some co-ordinates like this.
pawn Код:
SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746);
SetPlayerCameraPos(playerid, 1958.3783, 1343.1572, 15.3746);
SetPlayerCameraLookAt(playerid, 1958.3783, 1343.1572, 15.3746);
Re: Problems Bots -
NacnuD - 19.01.2013
Hmm, where do I enter the codes? The bots follow a path eh ..
Re: Problems Bots -
captainjohn - 19.01.2013
I think you should read and follow this.
https://sampforum.blast.hk/showthread.php?tid=95034
Re: Problems Bots -
NacnuD - 19.01.2013
In fact, I followed the guide, but I do not know that I have to put code to spawn the bots on the server and follow the path. Here's a screen when I goto, the bot is there.
Re: Problems Bots -
NacnuD - 20.01.2013
In short, there is something in GameMode RolePlay blocking the bot. But what I do not understand.
PS:Sorry for my bad english. I use translate..XD