Help please.
#3

Quote:
Originally Posted by trapstar2020
Посмотреть сообщение
pawn Код:
//at the top of script
new crate;

//under gamemodeint
crate = createobject();/createdynamicobject();


CMD:getweapon(playerid,params)
{
 if(IsPlayerInRangeOfPoint(playerid, 7.0, X, Y, Z)) // xyz of the object
 {
  GivePlayerWeapon(playerid,weaponid,ammo); //https://sampwiki.blast.hk/wiki/Weapons / Do as many times u want
 }
 return 1;
}
i got 2 errors
Reply


Messages In This Thread
Help please. - by cluckintucker - 02.10.2012, 02:11
Re: Help please. - by trapstar2020 - 02.10.2012, 02:21
Re: Help please. - by cluckintucker - 02.10.2012, 21:04

Forum Jump:


Users browsing this thread: 2 Guest(s)