Error 202
#1

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 https://sampforum.blast.hk/showthread.php?tid=372
Reply
#2

pawn Код:
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).
Reply
#3

Quote:
Originally Posted by Konstantinos
Посмотреть сообщение
pawn Код:
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)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)