GetPlayerPos on NPC returns 0.0, 0.0, 0.0
#6

Damn, do you even know what "continue" do? Go read wiki...
pawn Код:
for( new i; i < 5; i++ )
{
    if( i == 3 ) continue;
    printf( "%d", i );
}
/*
result:
[14:38:50] 0
[14:38:50] 1
[14:38:50] 2
[14:38:50] 4
*/

Quote:
Originally Posted by YJIET
Посмотреть сообщение
If you're trying to get the position of an NPC that is in a vehicle, use GetVehiclePos instead.
Yes, it's in vehicle, but I tried!! It returns also 0.0, 0.0, 0.0
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)