help about this - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: help about this (
/showthread.php?tid=663363)
help about this -
FizzyWalshy - 29.01.2019
Код:
C:\Users\p\Desktop\yowws\filterscripts\test.pwn(189) : warning 202: number of arguments does not match definition
Код:
Line 189 - tmpobjid = CreateDynamicObject(19482, 2020.285888, -1784.537963, 15.951107, 0.000000, 0.000000, -179.999969, -1, -1, -1, 300.00, 300.00);
SetDynamicObjectMaterial(tmpobjid, 0, 10101, "2notherbuildsfe", "ferry_build14", 0x00000000);
SetDynamicObjectMaterialText(tmpobjid, 0, "{33FFCC} _____________", 130, "Arial", 40, 1, 0x00000000, 0x00000000, 1);
Re: help about this -
fiki574 - 29.01.2019
Код:
CreateDynamicObject(modelid, Float:x, Float:y, Float:z, Float:rx, Float:ry, Float:rz, worldid = -1, interiorid = -1, playerid = -1, Float:streamdistance = 300.0);
You have one more argument than it's needed.
Re: help about this -
SytonicX - 29.01.2019
A " CreateDynamicObject " have a number of arguments which is "11"
You are using 1 more argument that is making it " 12 " which is exceeding the limit.