pickup problem - 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: pickup problem (
/showthread.php?tid=612933)
pickup problem -
Mister0 - 22.07.2016
I have mysql pickups, and when i create i creat dynamics, and i want if is fbi on pickup text to show me dialog, but nothing happened
Код HTML:
public OnPlayerPickUpDynamicPickup(playerid, pickupid)
{
for(new i;i<Total_SVP_Created;i++)
{
if(strfind(PickUpInfo[i][pcText],"F.B.I."))
{
if(pickupid==i)
ShowPlayerDialog(playerid, DIALOG_FBI, DIALOG_STYLE_LIST, "info", "This pickup is from fbi", "Ok", "Exit");
return 1;
}
}
return 1;
}
What is wrong?
In my pickup write "F.B.I. Pickup No.1"
Re: pickup problem -
[cS]Owain - 23.07.2016
umm there are no text in pickups, maybe you are creating 3dtextlabel only but not pickup. And make sure pickup is of type 3.