Weapon near. +REP.
#1

I know I shouldn't be requesting here, but it's the fastest way to get an answer.

Is it possible to create a script, that will give a player a certain weapon in like, a radius of 50 from the admin that uses the command?
Reply
#2

Yes.
Reply
#3

Yes. For example

PHP код:
CMD:giveweap(playeridparams[])
{
    new 
Float:xFloat:yFloat:z;
    
GetPlayerPos(playeridxyz);
    foreach (new 
i:Player)
    {
        if (
IsPlayerInRangeOfPoint(i50.0xyz))
        {
            
GivePlayerWeapon(iWEAPON_MOLTOV9);
        }
    }

Reply
#4

Wow, thanks alot Untonyst.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)