[13:25:13] *** CreateDynamicObject: Expecting 12 parameter(s), but found 11
#7

Quote:
Originally Posted by Mionee
Посмотреть сообщение
Your streamer plugin, not SA-MP.

Anyway, this are the new params: (version 2.7.1)

pawn Код:
CreateDynamicObject(modelid, Float:x, Float:y, Float:z, Float:rx, Float:ry, Float:rz, worldid = -1, interiorid = -1, playerid = -1, Float:streamdistance = 200.0, Float:drawdistance = 0.0);
Just add

pawn Код:
, 0.0);
behind your existing stream distance value.

So it'd look like this:

pawn Код:
CreateDynamicObject(1337, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, -1, -1, -1, 200.0, 0.0);
instead of

pawn Код:
CreateDynamicObject(1337, 0.00, 0.00, 0.00, 0.00, 0.00, 0.00, -1, -1, -1, 200.0);
I have alot of CreateDynamicObject in script. So what do i do to edit once?
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)