CreateDynamicPickup, Help.
#1

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
Reply
#2

Bump
Reply
#3

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.
Reply
#4

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


Forum Jump:


Users browsing this thread: 2 Guest(s)