Some warnings with pwn
#1

i putted my friend map to my server comes this:

C:\Users\Mhking\Desktop\neuer server\gamemodes\sfh.pwn(4116) : warning 202: number of arguments does not match definition
C:\Users\Mhking\Desktop\neuer server\gamemodes\sfh.pwn(4117) : warning 202: number of arguments does not match definition
C:\Users\Mhking\Desktop\neuer server\gamemodes\sfh.pwn(411 : warning 202: number of arguments does not match definition
C:\Users\Mhking\Desktop\neuer server\gamemodes\sfh.pwn(4119) : warning 202: number of arguments does not match definition
C:\Users\Mhking\Desktop\neuer server\gamemodes\sfh.pwn(4120) : warning 202: number of arguments does not match definition
C:\Users\Mhking\Desktop\neuer server\gamemodes\sfh.pwn(4121) : warning 202: number of arguments does not match definition
C:\Users\Mhking\Desktop\neuer server\gamemodes\sfh.pwn(4122) : warning 202: number of arguments does not match definition
C:\Users\Mhking\Desktop\neuer server\gamemodes\sfh.pwn(4123) : warning 202: number of arguments does not match definition
C:\Users\Mhking\Desktop\neuer server\gamemodes\sfh.pwn(4124) : warning 202: number of arguments does not match definition
C:\Users\Mhking\Desktop\neuer server\gamemodes\sfh.pwn(4125) : warning 202: number of arguments does not match definition
C:\Users\Mhking\Desktop\neuer server\gamemodes\sfh.pwn(4126) : warning 202: number of arguments does not match definition
C:\Users\Mhking\Desktop\neuer server\gamemodes\sfh.pwn(4127) : warning 202: number of arguments does not match definition
C:\Users\Mhking\Desktop\neuer server\gamemodes\sfh.pwn(412 : warning 202: number of arguments does not match definition
C:\Users\Mhking\Desktop\neuer server\gamemodes\sfh.pwn(4129) : warning 202: number of arguments does not match definition
C:\Users\Mhking\Desktop\neuer server\gamemodes\sfh.pwn(4130) : warning 202: number of arguments does not match definition
C:\Users\Mhking\Desktop\neuer server\gamemodes\sfh.pwn(4131) : warning 202: number of arguments does not match definition
C:\Users\Mhking\Desktop\neuer server\gamemodes\sfh.pwn(4132) : warning 202: number of arguments does not match definition
C:\Users\Mhking\Desktop\neuer server\gamemodes\sfh.pwn(4133) : warning 202: number of arguments does not match definition
C:\Users\Mhking\Desktop\neuer server\gamemodes\sfh.pwn(4134) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


19 Warnings.


is the map are in server or not?
Reply
#2

write here the lines.
Reply
#3

Quote:
Originally Posted by iRonKiD
write here the lines.
LOL NO u copy it
Reply
#4

No code = no helping.

The warning is pretty self explaining, you're using the wrong amount of arguments in a function.
Reply
#5

Код:
CreateObject(7291, 2848.459472, -2196.529052, 61.794120, 0.000000, 0.000000, 0.000000); // object - seif_convert
CreateObject(7291, 2848.849121, -2196.683593, 163.859100, 0.000000, 180.482055, 0.000000); // object (1) - seif_convert
CreateObject(987, 2852.039306, -2199.193847, 216.280242, 268.040344, 0.000000, 90.000000); // object (2) - seif_convert
CreateObject(11496, 2859.691406, -2194.289062, 216.269088, 0.000000, 0.000000, 90.000000); // object (3) - seif_convert
CreateObject(8412, 2846.476806, -2192.937744, 220.632415, 0.000000, 0.000000, 0.000000); // object (4) - seif_convert
CreateObject(3410, 2866.888671, -2196.003662, 217.244766, 0.000000, 0.000000, 315.000000); // object (5) - seif_convert
CreateObject(3410, 2866.666259, -2190.547363, 217.301986, 0.000000, 0.000000, 225.000030); // object (6) - seif_convert
CreateObject(3334, 2867.156005, -2193.333984, 220.861480, 0.000000, 0.000000, 180.000030); // object (7) - seif_convert
CreateObject(2580, 2866.984130, -2193.330078, 222.370101, 0.000000, 0.000000, 270.000000); // object (8) - seif_convert
CreateObject(2047, 2866.852539, -2195.956298, 218.826232, 0.000000, 0.000000, 225.000030); // object (9) - seif_convert
CreateObject(2047, 2866.636962, -2190.611816, 218.933288, 0.000000, 0.000000, 315.000000); // object (10) - seif_convert
CreateObject(1443, 2866.802001, -2195.994628, 217.101898, 0.000000, 0.000000, 22.500000); // object (11) - seif_convert
CreateObject(1443, 2866.716064, -2190.540039, 217.140380, 0.000000, 0.000000, 112.499969); // object (12) - seif_convert
CreateObject(983, 2854.903808, -2189.793945, 217.152633, 0.000000, 0.000000, 90.000000); // object (14) - seif_convert
CreateObject(983, 2861.301513, -2189.782958, 217.152633, 0.000000, 0.000000, 270.000000); // object (15) - seif_convert
CreateObject(983, 2855.054687, -2196.742187, 217.152633, 0.000000, 0.000000, 270.000000); // object (16) - seif_convert
CreateObject(983, 2861.463867, -2196.740966, 217.152633, 0.000000, 0.000000, 270.000000); // object (17) - seif_convert
CreateObject(3524, 2866.906982, -2192.137451, 218.208175, 0.000000, 0.000000, 270.000000); // object (20) - seif_convert
CreateObject(3524, 2866.849853, -2194.517578, 218.154724, 0.000000, 0.000000, 270.000000); // object (21) - seif_convert
Reply
#6

Maybe CreateObject is overdefined....
Reply
#7

Try shortening the coordinates, and obviously make sure they're under OnGamemodeInit/OnFilterScriptInit
Reply
#8

Quote:
Originally Posted by ded
Try shortening the coordinates, and obviously make sure they're under OnGamemodeInit/OnFilterScriptInit
they are under it
Reply
#9

Quote:
Originally Posted by mhking
Quote:
Originally Posted by ded
Try shortening the coordinates, and obviously make sure they're under OnGamemodeInit/OnFilterScriptInit
they are under it
Is there any other "CreateObject" lines in your GM/FS? Or any includes ... or anything? They all need to be together unless they are in a command or some function.
Reply
#10

Quote:
Originally Posted by » ded «
Quote:
Originally Posted by mhking
Quote:
Originally Posted by ded
Try shortening the coordinates, and obviously make sure they're under OnGamemodeInit/OnFilterScriptInit
they are under it
Is there any other "CreateObject" lines in your GM/FS? Or any includes ... or anything? They all need to be together unless they are in a command or some function.
TYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY YYYYYYYYYYYYYYYYYY!!!!!!!!!!!!!!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)