IsVehicleStreamedIn wrong syntax in pawno.
#1

If you write
Code:
IsVehicleStreamedIn(
pawno will suggest you to use this syntax.
Code:
IsVehicleStreamedIn(vehicleid)
but it should be
Code:
IsVehicleStreamedIn(vehicleid, forplayerid)
Reply
#2

This won't get fixed. I reported the same problem with SetPlayerAmmo asking for the weaponslot instead of weaponid and it always got ignored.
Reply
#3

But it do show weaponslot instead of weaponid, so they have listened?
I hope they'll fix it for later. Maybe it'll help another guy from having to spent 30 mins. trying to figure out what's wrong with his code.
Reply
#4

SetPlayerAmmo should show weaponid not weaponslot
Reply
#5

Oh I see.
Reply
#6

This is PAWNO bug, not samp.
Try to remove a_npc.inc from pawno includes and you will see the difference. (a_npc is before a_samp so PAWNO reads here I think)

Same situation with GetPlayerHealth()
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)