[help] OnPlayerPickUpPickup ~ continous pickup
#4

on the top:
Код:
new buyer[MAX_PLAYERS];
onplayerpickupickup:
Код:
if(buyer[playerid] == 0 && pickupid == NAME_OF_YOUR_PICKUP)
{
buyer[playerid] = 1;
//rest of code
}
return 0;
}
Of course in ondialogresponse you must add when he clicked LMB then buyer must be on 0
like this
Код:
buyer[playerid] = 0;
Gretting, micol. : )
Reply


Messages In This Thread
[help] OnPlayerPickUpPickup ~ continous pickup - by jeffery30162 - 07.09.2012, 01:07
Re: [help] OnPlayerPickUpPickup ~ continous pickup - by lamarr007 - 07.09.2012, 03:51
Re: [help] OnPlayerPickUpPickup ~ continous pickup - by jeffery30162 - 07.09.2012, 17:35
Re: [help] OnPlayerPickUpPickup ~ continous pickup - by micol - 07.09.2012, 18:35
Respuesta: [help] OnPlayerPickUpPickup ~ continous pickup - by jeffery30162 - 07.09.2012, 22:48

Forum Jump:


Users browsing this thread: 1 Guest(s)