SA-MP Forums Archive
Blend pickup id - 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: Blend pickup id (/showthread.php?tid=592402)



Blend pickup id - Sirop - 24.10.2015

Good morning / Good evening

So now I have a problem I made an example CreatPickUp = (blah); then I go OnPlayerPickUp I made a function that works on such and so do the one before me here please I need to do what? I not know if I was clear

Код HTML:
 else if(pickupid == ex1)
    {
        SendClientMessage(playerid,0xFF0000FF,"Aller au pickup suivant");
        DestroyPickup(ex1);
        ex2 = CreatePickup(1318, 22, -1868.6196,46.2699,1055.1296);
	}
	else if(pickupid == ex2)
    {
        SendClientMessage(playerid,0xFF0000FF,"test reussi avec succe IZI");
        DestroyPickup(ex2);
	}
	return 1;
}



Re: Blend pickup id - Dusan01 - 24.10.2015

i dont get it, explain it more...


Re: Blend pickup id - fuckingcruse - 24.10.2015

Explain it more clearly pls..


Re: Blend pickup id - LovelySoomro - 24.10.2015

remove else


Re : Blend pickup id - Sirop - 31.10.2015

Made In his confused id when I go on the 2nd pickup Inrush his pickup the 1st Qualifying


Re: Blend pickup id - IceBilizard - 31.10.2015

try to remove else if and use if only
pawn Код:
if(pickupid == ex1)
    {
        SendClientMessage(playerid,0xFF0000FF,"Aller au pickup suivant");
        DestroyPickup(ex1);
        ex2 = CreatePickup(1318, 22, -1868.6196,46.2699,1055.1296);
    }
    if(pickupid == ex2)
    {
        SendClientMessage(playerid,0xFF0000FF,"test reussi avec succe IZI");
        DestroyPickup(ex2);
    }
    return 1;
}



Re : Blend pickup id - Sirop - 31.10.2015

Save that puts its 2 function at the same time I will qauand the first pickup


Re : Blend pickup id - Sirop - 01.11.2015

UP pleases help me