GangZoneCreate weird warnings
#1

Ok, I get these errors after compile:

Quote:

C:\Documents and Settings\Andy\Desktop\SAMP\gamemodes\test.pwn(2019 0) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Andy\Desktop\SAMP\gamemodes\test.pwn(2019 0) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Andy\Desktop\SAMP\gamemodes\test.pwn(2019 0) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Andy\Desktop\SAMP\gamemodes\test.pwn(2019 0) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Andy\Desktop\SAMP\gamemodes\test.pwn(2019 1) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Andy\Desktop\SAMP\gamemodes\test.pwn(2019 1) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Andy\Desktop\SAMP\gamemodes\test.pwn(2019 1) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Andy\Desktop\SAMP\gamemodes\test.pwn(2019 1) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Andy\Desktop\SAMP\gamemodes\test.pwn(2019 2) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Andy\Desktop\SAMP\gamemodes\test.pwn(2019 2) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Andy\Desktop\SAMP\gamemodes\test.pwn(2019 2) : warning 202: number of arguments does not match definition
C:\Documents and Settings\Andy\Desktop\SAMP\gamemodes\test.pwn(2019 2) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


36 Warnings.

Here is my code of my zones:

pawn Код:
Nigguh = GangZoneCreate(1333,917, 684,1687, 1533,065, 811,8149);
    Nigguh1 = GangZoneCreate(1095,722, 2707,167, 1513,54, 2854,154);
    Nigguh2 = GangZoneCreate(2489,752, 1836,852, 2657,661, 1941,29);
    Nigguh3 = GangZoneCreate(2587,373, 1175,413, 2653,756, 1256,642);
    Nigguh4 = GangZoneCreate(888,7649, 1631,845, 982,4812, 1840,72);
    Nigguh5 = GangZoneCreate(-350,3363, 1716,648, -291,9469, 1810,71);
    Nigguh6 = GangZoneCreate(1786,88, 1473,254, 2013,361, 1705,338); // Starts from this line '20190'.
    Nigguh7 = GangZoneCreate(1650,21, 1291,455, 1732,212, 1450,46);
    Nigguh8 = GangZoneCreate(2407,75, 2235,263, 2493,657, 2273,944);
I didn't understand this.If someone had these warnings -> answer, please. Because my zones dont appear, I have added 'new Nigguh(s);', also 'GangZoneShowForPlayer'.

Thank you in advice.
Reply
#2

pawn Код:
Nigguh = GangZoneCreate(1333.917, 684.1687, 1533.065, 811.8149);
Nigguh1 = GangZoneCreate(1095.722, 2707.167, 1513.54, 2854.154);
Nigguh2 = GangZoneCreate(2489.752, 1836.852, 2657.661, 1941.29);
Nigguh3 = GangZoneCreate(2587.373, 1175.413, 2653.756, 1256.642);
Nigguh4 = GangZoneCreate(888.7649, 1631.845, 982.4812, 1840.72);
Nigguh5 = GangZoneCreate(-350.3363, 1716.648, -291.9469, 1810.71);
Nigguh6 = GangZoneCreate(1786.88, 1473.254, 2013.361, 1705.338);
Nigguh7 = GangZoneCreate(1650.21, 1291.455, 1732.212, 1450.46);
Nigguh8 = GangZoneCreate(2407.75, 2235.263, 2493.657, 2273.944);
You used , instead of .
Reply
#3

Hahaha, rofl, thank you, it works now!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)