SA-MP Forums Archive
[Reques]Create Pickup Help - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [Reques]Create Pickup Help (/showthread.php?tid=171006)



[Reques]Create Pickup Help - GBLTeam - 24.08.2010

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!


Re: [Reques]Create Pickup Help - [L3th4l] - 25.08.2010

Check my sig


Re: [Reques]Create Pickup Help - Souvlaki - 25.08.2010

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...


Re: [Reques]Create Pickup Help - GBLTeam - 25.08.2010

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 ?


Re: [Reques]Create Pickup Help - Souvlaki - 25.08.2010

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);//



Re: [Reques]Create Pickup Help - GBLTeam - 25.08.2010

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);