Arms Dealer and Mechanic pick up
#1

Where is my wrong in this code I can't find it
Code:
ArmsDealer = CreateDynamicPickup(1239, 1, ARMS_DEALER_POSX, ARMS_DEALER_POSY, ARMS_DEALER_POSZ, 0, 0, 1, 40.0); //arms dealer pickup job
	CreateDynamic3DTextLabel("Arms Dealer\nType /join to become an Arms Dealer",COLOR_YELLOW, ARMS_DEALER_POSX, ARMS_DEALER_POSY, ARMS_DEALER_POSZ,40.0,0);

	Mechanic = CreateDynamicPickup(1239, 1, MECHANIC_POSX, MECHANIC_POSY, MECHANIC_POSZ, 0, 0, 1, 40.0); //mechanic pickup job
	CreateDynamic3DTextLabel("Mechanic\nType /join to become a Mechanic",COLOR_YELLOW, MECHANIC_POSX, MECHANIC_POSY, MECHANIC_POSZ,40.0,0);

	matspoint1 = CreateDynamicPickup(1239, 1, ARMS_DEALER_POINT1_POSX, ARMS_DEALER_POINT1_POSY, ARMS_DEALER_POINT1_POSZ, 0, 0, 1, 40.0); //Mats Pickup 1
	CreateDynamic3DTextLabel("Material Pickup 1\nType /getmats to get some packages.",COLOR_YELLOW, ARMS_DEALER_POINT1_POSX, ARMS_DEALER_POINT1_POSY, ARMS_DEALER_POINT1_POSZ,40.0,0);
And here is error:
Code:
C:\Users\Mario\Desktop\ADRP\gamemodes\U1.pwn(230) : warning 204: symbol is assigned a value that is never used: "ArmsDealer"
C:\Users\Mario\Desktop\ADRP\gamemodes\U1.pwn(233) : warning 204: symbol is assigned a value that is never used: "Mechanic"
C:\Users\Mario\Desktop\ADRP\gamemodes\U1.pwn(236) : warning 204: symbol is assigned a value that is never used: "matspoint1"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


3 Warnings.
Reply
#2

It's just telling you that you've assigned a value to a variable...but never used.
Reply
#3

Antonio is fast
Reply
#4

Thanks for help I didn't make OnPlayerPickUpPickup
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)