SA-MP Forums Archive
[Help, Problem] Pickup delay error! :/ - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [Help, Problem] Pickup delay error! :/ (/showthread.php?tid=86559)



[Help, Problem] Pickup delay error! :/ - Moustafa - 14.07.2009

pawn Код:
public OnPlayerPickUpPickup(playerid, pickupid)
{
    if(pickupid = mypickup) // Line 45
    {
    SetTimer("PickupDelay", 6000, 0); // change the timer if you wish to.
    }
    return 1;
}
After compile:
Код:
C:\Users\*******\Desktop\Server\filterscripts\hsprunk.pwn(45) : warning 211: possibly unintended assignment
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Warning.
Hope you help me! :/


Re: [Help, Problem] Pickup delay error! :/ - coffeecup92 - 14.07.2009

pawn Код:
if(pickupid == mypickup)