[Reques]Create Pickup Help
#1

so i save the position and now i want to create a pickup and text label

This is from saved posion i use /save

AddPlayerClass(288,2134.2358,-2279.2097,20.6719,131.9512,0,0,0,0,0,0); //

So i use 288,2134.2358,-2279.2097,20.6719 but not work!


(22367) CreateDynamicPickup(1314, 1, 288,2134.2358,-2279.2097,20.6719,0); //Hacker Pickup
(2236 Create3DTextLabel("[Hacker Pickup] \n Type \"/join\" to get job.",0xFFFF00AA, 288,2134.2358,-2279.2097,20.6719, 20,0,1);

I got two errors in compiling

1. (22367) : warning 213: tag mismatch
2. (2236 : warning 202: number of arguments does not match definition

Please help me fast . Thanks!
Reply
#2

Check my sig
Reply
#3

pawn Код:
CreateDynamicPickup(1314, 1, 288,2134.2358,-2279.2097,20.6719, -1,-1,-1,200.0);//Last parameter is draw distance.
For the 3d Label I am not sure...
Reply
#4

Quote:
Originally Posted by Souvlaki
Посмотреть сообщение
pawn Код:
CreateDynamicPickup(1314, 1, 288,2134.2358,-2279.2097,20.6719, -1,-1,-1,200.0);//Last parameter is draw distance.
For the 3d Label I am not sure...
i add

Код:
(22367) : warning 213: tag mismatch
(22367) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase
Код:
CreateDynamicPickup(1314, 1, 288,2134.2358,-2279.2097,20.6719, -1,-1,-1,200.0);//
Anyone to help ?
Reply
#5

Quote:
Originally Posted by GBLTeam
Посмотреть сообщение
i add

Код:
(22367) : warning 213: tag mismatch
(22367) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase
Код:
CreateDynamicPickup(1314, 1, 288,2134.2358,-2279.2097,20.6719, -1,-1,-1,200.0);//
Anyone to help ?
Код:
CreateDynamicPickup(1314, 1, 2134.2358,-2279.2097,20.6719, -1,-1,-1,200.0);//
Reply
#6

Thanks i fixed now its

Код:
    CreateDynamicPickup(1314, 1, 2134.2358,-2279.2097,20.6719, -1,-1,-1,200.0); //Hacker
    Create3DTextLabel("[Hacker Pickup] \n Type \"/join\" to get job.",0xFFFF00AA, 2134.2358,-2279.2097,20.6719, 20,0,1);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)