I get 2 warnings when i compile
#1

Hi, i am getting this warning when i compile my gamemode, can anybody tell me what is wrong?

Warnings:
pawn Код:
C:\Users\Mikkel\Desktop\Server stuff 2015_16\pawno\include\erpPickupStreamer.inc(3) : warning 201: redefinition of constant/macro (symbol "MAX_PICKUPS")
Reply
#2

never mind xd
Reply
#3

You have too many arguments at CreateObject.
Use it like this.
PHP код:
CreateObject(modelidFloat:XFloat:YFloat:ZFloat:rXFloat:rYFloat:rZFloat:DrawDistance
Reply
#4

I have tried that, it doesnt Work ZeMuNac
Reply
#5

You have 9 arguments where 8 is needed..
Also what's the point of Z-2?
Try like this.
PHP код:
weedObject[weed] = CreateObject(3409XYZ00200.00); 
Reply
#6

Oh yea, i just noticed thank you
Reply
#7

Do you know why i get this warning?
pawn Код:
C:\Users\Mikkel\Desktop\Server stuff 2015_16\pawno\include\erpPickupStreamer.inc(3) : warning 201: redefinition of constant/macro (symbol "MAX_PICKUPS")
Reply
#8

MAX_PICKUPS is already defined in a_samp.inc

So if you have it in your gamemode you can remove it.
It is probably somewhere on top #define MAX_PICKUPS Number
Reply
#9

Thanks
Reply
#10

Example:

PHP код:
#define test    1
#define test    2 
warning 201: redefinition of constant/macro (symbol "test")
Reply


Forum Jump:


Users browsing this thread: 5 Guest(s)