Tag mismatch - 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)
+--- Thread: Tag mismatch (
/showthread.php?tid=446320)
Tag mismatch -
DJRebis - 25.06.2013
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?
Re: Tag mismatch -
Deathstalker - 25.06.2013
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.
Re: Tag mismatch -
DJRebis - 25.06.2013
Tnx, Works now