21.10.2013, 10:44
Red face how to add NPC boot player
21.10.2013, 10:48
21.10.2013, 11:05
wat not work ?
not show bot player
not show bot player
Quote:
public OnGameModeInit() { ConnectNPC("[BOT]Pilot", "pilot"); CreateDynamicObject(109, -1551.87585, 741.70190, 6.96150, 86.00000, 0.00000, 0.00000); CreateDynamicObject(109, -1553.20630, 739.82355, 6.96150, 86.00000, 0.00000, 0.00000); CreateDynamicObject(109, -1554.18677, 743.20221, 6.96150, 86.00000, 0.00000, 0.00000); CreateDynamicObject(109, -1555.25635, 740.15961, 7.42850, 86.00000, 0.00000, 0.00000); return 1; } |
21.10.2013, 11:15
Well, you have to spawn it and set his position.
21.10.2013, 11:22
21.10.2013, 15:30
how ? plz help
21.10.2013, 16:25
Read some tutorials..
Here is a tutorial: https://sampforum.blast.hk/showthread.php?tid=355372
Here is a tutorial: https://sampforum.blast.hk/showthread.php?tid=355372
21.10.2013, 17:34
At first learn the very basics of scripting. Then come back and ask again. This forum isnt meant for teaching every single person how to script from 0. The wiki or the tutorial section is where you need to read.
« Next Oldest | Next Newest »
Users browsing this thread: 2 Guest(s)