Blend pickup id
#1

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;
}
Reply
#2

i dont get it, explain it more...
Reply
#3

Explain it more clearly pls..
Reply
#4

remove else
Reply
#5

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

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;
}
Reply
#7

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

UP pleases help me
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)