tag mismatc
#1

(27601) : warning 213: tag mismatc

line 27601 :
PHP код:
    nwbipickup CreateDynamicPickup(124221716.3733, -1870.592913.5662327.1595); // test one 
Reply
#2

Код:
CreateDynamicPickup(modelid, type, Float:x, Float:y, Float:z, worldid = -1, interiorid = -1, playerid = -1, Float:streamdistance = STREAMER_PICKUP_SD, areaid = -1, priority = 0)
Your 6th argument (counting from 1) is a float while it should be an integer. There's no angle with pickups as they spin around 360 degrees over and over again.
Reply
#3

Quote:
Originally Posted by Hansrutger
Посмотреть сообщение
Код:
CreateDynamicPickup(modelid, type, Float:x, Float:y, Float:z, worldid = -1, interiorid = -1, playerid = -1, Float:streamdistance = STREAMER_PICKUP_SD, areaid = -1, priority = 0)
Your 6th argument (counting from 1) is a float while it should be an integer. There's no angle with pickups as they spin around 360 degrees over and over again.
like this ? 1716.3733, -1870.5929, 13.5662, -1
Reply
#4

PHP код:
 nwbipickup CreateDynamicPickup(124221716.3733, -1870.592913.5662327.1595, -1, -1, -160.0); 
Reply
#5

Well with this in particular one you don't even have to write -1 as that is the default number for that argument.
Reply
#6

The number of arguments most likely depends on your Streamer version, open up the include found in pawno/include folder and check the usage of the function then follow it accordingly in your script.
Reply
#7

thanks this works for me 1716.3733, -1870.5929, 13.5662, -1
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)