Checking if player is armed
#4

Quote:
Originally Posted by Memoryz
Посмотреть сообщение
pawn Код:
for (new i = 0; i < 13; i++)
{
    new checkdata[2];

    GetPlayerWeaponData(playerid, i, checkdata[0], checkdata[1]);
    if(checkdata[0] != 255)
    {
        //Has a gun, insert what to do here
        break;
    }
}

sorry, but I quite do not understand your idea.

I dont see you spawning the sirens or removing it. I also dont see the isplayerinrange. Would you please mind explaining your script so I can finish it? Thank you.
Reply


Messages In This Thread
Checking if player is armed - by Sam5513 - 24.08.2012, 19:56
Re: Checking if player is armed - by Memoryz - 24.08.2012, 20:03
Re: Checking if player is armed - by Roko_foko - 24.08.2012, 20:05
Re: Checking if player is armed - by Sam5513 - 24.08.2012, 20:30
Re: Checking if player is armed - by Sam5513 - 24.08.2012, 20:52
Re: Checking if player is armed - by clarencecuzz - 24.08.2012, 21:29
Re: Checking if player is armed - by Sam5513 - 24.08.2012, 21:51
Re: Checking if player is armed - by Sam5513 - 25.08.2012, 08:24
Re: Checking if player is armed - by Roko_foko - 25.08.2012, 10:44
Re: Checking if player is armed - by Sam5513 - 25.08.2012, 10:48

Forum Jump:


Users browsing this thread: 3 Guest(s)