PDA

View Full Version : warning


Žilvėnas
13/10/2011, 11:04 AM
HEY.

me in warning..

warning 213: tag mismatch

A line:
public OnPlayerPickUpPickup(playerid, pickupid)
{
if( pickupid == vmbilietas )
ShowPlayerDialog(playerid, 112,DIALOG_STYLE_MSGBOX,"VŠĮ REGITRA","Ar tikrai norite laikyti automobilio teises ? Bilietėlio kaina 200$","Taip","Ne");
if( pickupid == pradzia )
ShowPlayerDialog(playerid, 101010,DIALOG_STYLE_MSGBOX,"PRADŽIOS SKAITALIUKAS","blalaaaaaaa","Taip","Ne");
return 1;
}

Wesley221
13/10/2011, 11:08 AM
In which line is the warning..

aRoach
13/10/2011, 11:09 AM
One of your PickupID it's not Defined...

Žilvėnas
13/10/2011, 11:10 AM
but defined..

Wesley221
13/10/2011, 11:11 AM
You probably 'defined' it as a string, which isnt compatible with a pickup. Show us where you create the variables

iJumbo
13/10/2011, 12:07 PM
101010 dialog id?!