/Dropweapon Command
#2

What you want to do exactly?
If i understand you good, then..

Код:
new Gun[MAX_PLAYERS];
Код:
COMMAND:dropweapon(playerid,params[])
{
new Float:x,Float:y,Float:z;
GetPlayerPos(playerid,x,y,z);
for(new i=0;i<MAX_PLAYERS;i++){ Gun[i] = CreatePickup(349,4,x,y,z,-1); }
return 1;
}
Код:
OnPlayerPickupPickup(playerid,pickupid)
{
if(pickupid == Gun[playerid])
{
// GivePlayerGun
return 1;
}
return 1;
}
It's for example. I don't write you fully script.
Reply


Messages In This Thread
/Dropweapon Command - by Platanito - 25.02.2010, 18:31
Re: /Dropweapon Command - by Martin_M - 25.02.2010, 18:44
Re: /Dropweapon Command - by Platanito - 25.02.2010, 18:55
Re: /Dropweapon Command - by Martin_M - 25.02.2010, 19:14
Re: /Dropweapon Command - by Platanito - 25.02.2010, 19:19
Re: /Dropweapon Command - by Chrham_2 - 25.02.2010, 19:22
Re: /Dropweapon Command - by Platanito - 25.02.2010, 19:30
Re: /Dropweapon Command - by Chrham_2 - 25.02.2010, 19:32

Forum Jump:


Users browsing this thread: 1 Guest(s)