SA-MP Forums Archive
CreateDynamicPickup, Help. - 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: CreateDynamicPickup, Help. (/showthread.php?tid=552826)



CreateDynamicPickup, Help. - X|Dragon|X - 26.12.2014

Okay, so everytime i compile my script, i get this errors.

Код:
C:\Users\Medo\Desktop\GRP\gamemodes\LSRRP.pwn(2109) : warning 202: number of arguments does not match definition
C:\Users\Medo\Desktop\GRP\gamemodes\LSRRP.pwn(2110) : warning 202: number of arguments does not match definition
C:\Users\Medo\Desktop\GRP\gamemodes\LSRRP.pwn(2111) : warning 202: number of arguments does not match definition
C:\Users\Medo\Desktop\GRP\gamemodes\LSRRP.pwn(2112) : warning 202: number of arguments does not match definition
C:\Users\Medo\Desktop\GRP\gamemodes\LSRRP.pwn(2113) : warning 202: number of arguments does not match definition
C:\Users\Medo\Desktop\GRPgamemodes\LSRRP.pwn(2114) : warning 202: number of arguments does not match definition
C:\Users\Medo\Desktop\GRP\gamemodes\LSRRP.pwn(2115) : warning 202: number of arguments does not match definition
Here is the LINES

Код:
    CreateDynamicPickup(1318, 23, 252.15, 1389.56,11.14, -1, -1, -1, -1, 50.0); //Gate 0
    CreateDynamicPickup(1318, 23, 1790.86, -1515.22,5700.43, -1, -1, -1, -1, 50.0); //Gate 1
    CreateDynamicPickup(1318, 23, 1811.31, -1514.20,5700.43, -1, -1, -1, -1, 50.0); //Gate 2
    CreateDynamicPickup(1318, 23, 271.91, 1388.99, 11.13, -1, -1, -1, -1, 50.0); //Gate 4
    CreateDynamicPickup(1318, 23, 201.81, 1437.60, 10.60, -1, -1, -1, -1, 50.0); //Gate 3
    CreateDynamicPickup(1318, 23, 153.86, 1437.62, 10.60, -1, -1, -1, -1, 50.0); //Gate 5
    CreateDynamicPickup(1318, 23, 249.76, 1437.60, 10.59, -1, -1, -1, -1, 50.0); //Gate 6
    CreateDynamicPickup(1318, 23, 154.68, 1404.29, 10.60, -1, -1, -1, 50.0); //Exit



Re: CreateDynamicPickup, Help. - X|Dragon|X - 27.12.2014

Bump


Re: CreateDynamicPickup, Help. - dominik523 - 27.12.2014

And then you go to a streamer's topic and you find this:
Код:
native CreateDynamicPickup(modelid, type, Float:x, Float:y, Float:z, worldid = -1, interiorid = -1, playerid = -1, Float:streamdistance = 100.0);
Then you see that you have one extra parameter which is set to -1.
Please check the resources next time.


Re: CreateDynamicPickup, Help. - X|Dragon|X - 27.12.2014

Right, my mistake i didn't notice it, Thank you.