PDA

View Full Version : Error 202


denniser8
27/09/2013, 02:48 PM
Hey guyz i tried to script gangwars and got this thing here

C:\Users\Dennis Laptop\Desktop\Server\gamemodes\latw.pwn(418) : warning 202: number of arguments does not match definition
C:\Users\Dennis Laptop\Desktop\Server\gamemodes\latw.pwn(418) : warning 202: number of arguments does not match definition
C:\Users\Dennis Laptop\Desktop\Server\gamemodes\latw.pwn(418) : warning 202: number of arguments does not match definition
C:\Users\Dennis Laptop\Desktop\Server\gamemodes\latw.pwn(418) : warning 202: number of arguments does not match definition
418 Grove = GangZoneCreate(2429,166, -1705,548, 2505,222, -1646,332);


this happened when i followed all steps from http://forum.sa-mp.com/showthread.php?t=372

Konstantinos
27/09/2013, 02:49 PM
GangZoneCreate(2429.166, -1705.548, 2505.222, -1646.332);

Floats use a dot (.) not a comma (,)

You separated them with a comma and it was like you used 8 parameters (all integers) when there are 4 parameters (all floats).

denniser8
27/09/2013, 03:09 PM
GangZoneCreate(2429.166, -1705.548, 2505.222, -1646.332);

Floats use a dot (.) not a comma (,)

You separated them with a comma and it was like you used 8 parameters (all integers) when there are 4 parameters (all floats).

Thanks Man.Eimai Ellinas KAI Egw :) Eyxaristw poly!(<--- GREEK LANGUAGE)