07.04.2012, 23:18
Ok compiled with no errors. why return 0? now I cant buy guns it wont let me. when player goes in the pickup.
if(pickupid==illegalammupickup)
{
ShowPlayerDialog(playerid,1,DIALOG_STYLE_LIST,"{FF 0000}illegal Ammunation","{FF0000}1)Knife $1,000\n{FF0000}2)Baseball Bat $1,000\n{FF0000}3)9mm $3,500\n{FF0000}4)9mm silenced $4,500\n{FF0000}5)Deagle $7,000\n{FF0000}6)Shotgun $11,000\n{FF0000}7)Micro SMG [Uzi] $8,000\n{FF0000}AK-47 $20,000\n{FF0000}9)Tec-9 $12,000","Buy", "Cancel");
}
if(pickupid==illegalammupickup)
{
ShowPlayerDialog(playerid,1,DIALOG_STYLE_LIST,"{FF 0000}illegal Ammunation","{FF0000}1)Knife $1,000\n{FF0000}2)Baseball Bat $1,000\n{FF0000}3)9mm $3,500\n{FF0000}4)9mm silenced $4,500\n{FF0000}5)Deagle $7,000\n{FF0000}6)Shotgun $11,000\n{FF0000}7)Micro SMG [Uzi] $8,000\n{FF0000}AK-47 $20,000\n{FF0000}9)Tec-9 $12,000","Buy", "Cancel");
}