Tag mismatch
#1

Hi, i was adding pickups.. Everything ok but then error: tag mistmatch
Seems ok
Код:
#include <a_samp>
new lv;
And the Pickup is ok too!
Код:
public OnGameModeInit()
{
	lv = CreatePickup(1239,2036.1674,1347.6440,10.8203,22);
And this too
Код:
public OnPlayerPickUpPickup(playerid, pickupid)
{
    if(pickupid == lv)ShowPlayerDialog(playerid,1,DIALOG_STYLE_MSGBOX,"Hello and Welcome to UF","Hello newbie! \nThis is SAMP Freeroam Server \n Please read rules /rules \nVisit our website: www.ultrafreeroam.webs.com","OK","OK");
    return 1;
}
So what is wrong or where is problem?
Reply
#2

Try changing
pawn Код:
CreatePickup(1239,2036.1674,1347.6440,10.8203,22);
To this:
pawn Код:
CreatePickup(1239, [B]1,[/B] 2036.1674,1347.6440,10.8203,22);
The one being a pickup type.
Reply
#3

Tnx, Works now
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)