Create Gift Pickups OnPlayerDeath
#4

HERE IS MY CODE:

On Top
PHP код:
new GiftPickup[MAX_PLAYERS]; 
Under OnPlayerDeath( ... )
PHP код:
new Float:XFloat:YFloat:Z;
GetPlayerPos(playeridX,Y,Z);
GiftPickup[playerid] = CreatePickup(19054,8,X,Y,Z0); 
PHP код:
Under OnPlayerPickupPickup( ... )
if(
pickupid == GiftPickup[playerid])
{
//gifts
//merry xmas
DestroyPickup(GiftPickup);

Reply


Messages In This Thread
Create Gift Pickups OnPlayerDeath - by danish007 - 14.12.2014, 19:36
Re: Create Gift Pickups OnPlayerDeath - by MD5 - 14.12.2014, 19:38
Re: Create Gift Pickups OnPlayerDeath - by danish007 - 14.12.2014, 19:41
Re: Create Gift Pickups OnPlayerDeath - by danish007 - 14.12.2014, 19:58
Re: Create Gift Pickups OnPlayerDeath - by mahdi499 - 14.12.2014, 20:21
Re: Create Gift Pickups OnPlayerDeath - by danish007 - 14.12.2014, 20:34
Re: Create Gift Pickups OnPlayerDeath - by danish007 - 15.12.2014, 06:16
Re: Create Gift Pickups OnPlayerDeath - by Divergent - 15.12.2014, 06:20
Re: Create Gift Pickups OnPlayerDeath - by rickisme - 15.12.2014, 06:37
Re: Create Gift Pickups OnPlayerDeath - by Threshold - 15.12.2014, 07:29

Forum Jump:


Users browsing this thread: 2 Guest(s)