NPC and Gravity
#1

Hey guys!
I just wanted to know if NPCs are affected by the server gravity.

I mean, i spawned a NPC on my server but without anything recorded for it to do. So it just stayed there with no function pretty much like an object... Then with admin command i throw the NPC in the air, but it didnt fall. Why?

Isnt there any way to make a NPC respect the gravity?
Reply
#2

The only way I know is using a plugin to detect the Z coord of the ground where the NPC is and have it stop at that position when it is falling.
Reply
#3

Nah, i thought that when a NPC is drop from the air, it would fall as a normal player, independent on his reconding
Reply
#4

nope it wont fall the regular sa-mp npc's will just follow recordings even if you blow up the car they are still driving..ow wait..you cant even blow up an npc's car damn.
Reply
#5

:C thats bad for what i was trying to do


But wait, what if i record a npc falling? Will it just fall the place i recorded or can i set any position on the map and his action will be 'falling' ?
Reply
#6

an npc recorded as falling down could work but i guess you tried by now.
what are you trying anyway if i might ask ?
Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)