HEY.
Code:
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;
}
You probably 'defined' it as a string, which isnt compatible with a pickup. Show us where you create the variables