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=606162)
Pickup Problem -
Fantje - 30.04.2016
Heey guys,
I created a pickup with 3 lists in it:
-Armour
-Health
-Weapons
It works but there is 1 problem:
When I want to select something it opens again (the pickup dialog). Like after 3 seconds.
SCREENS:
http://imgur.com/a/qO4Ar
You see I want to select something but it gets back to the dialog after 3 seconds ( I think it opens again after each 3 seconds).
My PickUp type is on 1, but when I put it on 2 I can't select things anymore.
PHP код:
swatbriefcase = CreatePickup(1210, 1, 203.7444,1869.5186,13.1406, -1);
Please help me
Re: Pickup Problem -
oMa37 - 30.04.2016
-DELETE-
Re: Pickup Problem -
MBilal - 30.04.2016
I understand that rather than using pickup like.
use it like this
Код:
public OnVehicleDamageStatusUpdate(vehicleid, playerid)
{
//under it
if(newkeys & KEY_SECONDARY_ATTACK)
{
//put your dialogs here
//now dialogs only appear if player press F or Enter
}
return 1;
}