30.07.2011, 17:50
EDIT: How do i get rid of that?
And it does not display the gametext when i walk into the pickup.
My code
And it does not display the gametext when i walk into the pickup.
Код:
D:\kyeismyhero\nude\pictures\filterscripts\Weapon.pwn(39) : warning 235: public function lacks forward declaration (symbol "OnPlayerPickupPickup") Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Warning.
Код:
new Weapon; public OnFilterScriptInit() { Weapon = CreatePickup(1239, 2, 314.2593,-133.4917,999.6016, 0); return 1; } public OnPlayerPickupPickup(playerid,pickupid) { if(pickupid == Weapon) { GameTextForPlayer(playerid,"~p~/buygun",2000,5); } return 1; }