AddStaticPickup awkward error.
#1

Код:
C:\Documents and Settings\L30\Desktop\0.3 script\gamemodes\gf.pwn(6887) : warning 202: number of arguments does not match definition
C:\Documents and Settings\L30\Desktop\0.3 script\gamemodes\gf.pwn(6892) : warning 202: number of arguments does not match definition
C:\Documents and Settings\L30\Desktop\0.3 script\gamemodes\gf.pwn(6900) : warning 202: number of arguments does not match definition
C:\Documents and Settings\L30\Desktop\0.3 script\gamemodes\gf.pwn(6905) : warning 202: number of arguments does not match definition
C:\Documents and Settings\L30\Desktop\0.3 script\gamemodes\gf.pwn(6913) : warning 202: number of arguments does not match definition
C:\Documents and Settings\L30\Desktop\0.3 script\gamemodes\gf.pwn(6918) : warning 202: number of arguments does not match definition
C:\Documents and Settings\L30\Desktop\0.3 script\gamemodes\gf.pwn(6922) : warning 202: number of arguments does not match definition
C:\Documents and Settings\L30\Desktop\0.3 script\gamemodes\gf.pwn(6923) : warning 202: number of arguments does not match definition
C:\Documents and Settings\L30\Desktop\0.3 script\gamemodes\gf.pwn(6924) : warning 202: number of arguments does not match definition
C:\Documents and Settings\L30\Desktop\0.3 script\gamemodes\gf.pwn(6925) : warning 202: number of arguments does not match definition
C:\Documents and Settings\L30\Desktop\0.3 script\gamemodes\gf.pwn(6926) : warning 202: number of arguments does not match definition
C:\Documents and Settings\L30\Desktop\0.3 script\gamemodes\gf.pwn(6927) : warning 202: number of arguments does not match definition
C:\Documents and Settings\L30\Desktop\0.3 script\gamemodes\gf.pwn(6928) : warning 202: number of arguments does not match definition
C:\Documents and Settings\L30\Desktop\0.3 script\gamemodes\gf.pwn(6929) : warning 202: number of arguments does not match definition
C:\Documents and Settings\L30\Desktop\0.3 script\gamemodes\gf.pwn(6930) : warning 202: number of arguments does not match definition
C:\Documents and Settings\L30\Desktop\0.3 script\gamemodes\gf.pwn(6931) : warning 202: number of arguments does not match definition
C:\Documents and Settings\L30\Desktop\0.3 script\gamemodes\gf.pwn(6932) : warning 202: number of arguments does not match definition
C:\Documents and Settings\L30\Desktop\0.3 script\gamemodes\gf.pwn(6933) : warning 202: number of arguments does not match definition
C:\Documents and Settings\L30\Desktop\0.3 script\gamemodes\gf.pwn(6934) : warning 202: number of arguments does not match definition
C:\Documents and Settings\L30\Desktop\0.3 script\gamemodes\gf.pwn(6935) : warning 202: number of arguments does not match definition
C:\Documents and Settings\L30\Desktop\0.3 script\gamemodes\gf.pwn(6936) : warning 202: number of arguments does not match definition
C:\Documents and Settings\L30\Desktop\0.3 script\gamemodes\gf.pwn(6937) : warning 202: number of arguments does not match definition
C:\Documents and Settings\L30\Desktop\0.3 script\gamemodes\gf.pwn(6938) : warning 202: number of arguments does not match definition
C:\Documents and Settings\L30\Desktop\0.3 script\gamemodes\gf.pwn(6939) : warning 202: number of arguments does not match definition
C:\Documents and Settings\L30\Desktop\0.3 script\gamemodes\gf.pwn(6940) : warning 202: number of arguments does not match definition
C:\Documents and Settings\L30\Desktop\0.3 script\gamemodes\gf.pwn(6941) : warning 202: number of arguments does not match definition
C:\Documents and Settings\L30\Desktop\0.3 script\gamemodes\gf.pwn(6942) : warning 202: number of arguments does not match definition
C:\Documents and Settings\L30\Desktop\0.3 script\gamemodes\gf.pwn(6943) : warning 202: number of arguments does not match definition
C:\Documents and Settings\L30\Desktop\0.3 script\gamemodes\gf.pwn(6944) : warning 202: number of arguments does not match definition
C:\Documents and Settings\L30\Desktop\0.3 script\gamemodes\gf.pwn(6945) : warning 202: number of arguments does not match definition
C:\Documents and Settings\L30\Desktop\0.3 script\gamemodes\gf.pwn(6946) : warning 202: number of arguments does not match definition
C:\Documents and Settings\L30\Desktop\0.3 script\gamemodes\gf.pwn(6947) : warning 202: number of arguments does not match definition
C:\Documents and Settings\L30\Desktop\0.3 script\gamemodes\gf.pwn(6948) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase

Header size:      5960 bytes
Code size:     1112136 bytes
Data size:     2189540 bytes
Stack/heap size:   16384 bytes; estimated max. usage=4904 cells (19616 bytes)
Total requirements: 3324020 bytes

33 Warnings.
This is what I need for 0.3, no?
AddStaticPickup(model, type, Float:X, Float:Y, Float:Z, virtualworld = 0);

He is what I have in script.
Код:
AddStaticPickup(1239, 2, 1173.2563,-1323.3102,15.3943, -1);
Reply
#2

The above code does not error. Check your script again or use CreatePickup
https://sampwiki.blast.hk/wiki/CreatePickup
Reply
#3

Quote:
Originally Posted by dice7
The above code does not error.
He's right
Reply
#4

It doesn't error, but the code you are using is probably not right
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)