Pickup
#1

Hey, again. I'm creating my second pickup and it doesn't go the way I planned, I went over this 5++ times and still no clue of what's wrong with it.
the error(warning) is

pawn Код:
C:\Users\Ruben\Dropbox\0.3d\gamemodes\RubyAaVegard.pwn(240) : warning 213: tag mismatch
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


1 Warning.
here's the "new"
pawn Код:
new pdgaragePickup;
OnPlayerGameModeInit below(THIS IS LINE 240, WHERE THE WARNING/ERROR IS)
pawn Код:
pdgaragePickup = CreatePickup(1247, 1, 2285.6396,70.5205,26.4844,87.0025);
and of course the OnPlayerPickUpPickup
pawn Код:
if(pickupid == pdgaragePickup)
    {
        GameTextForPlayer(playerid, "~y~ /enter ~r~ to ebter PD garage", 1000, 1);
    }
I'm really stuck..Thanks a lot in advance.
Reply
#2

Thanks, tested and working
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)