26.06.2012, 12:11
Quote:
|
Damn, do you even know what "continue" do? Go read wiki...
pawn Код:
Yes, it's in vehicle, but I tried!! It returns also 0.0, 0.0, 0.0 ![]() |
So IsPlayerConnected checks if the player is connected, IsPlayerNPC checks if the player is a NPC, so !IsPlayerNPC checks if the player is NOT a NPC in your case you need to check if the player IS A NPC to get its position.
Edit:
GetVehiclePos gets the vehicle position not NPC position. Even the NPC is in the car GetPlayerPos should work.



