OnPlayerDeath
#3

Here is the code for dropping weapons

pawn Код:
for(new i = 0; i < sizeof(DropInfo); i++)
    {
        if(DropInfo[i][dx] != 0.0 && DropInfo[i][dy] != 0.0 && DropInfo[i][dz] != 0.0)
        {
            if(DropInfo[i][dType] == 1)
            {
                if (DropInfo[i][dAmount][0] > 1 || DropInfo[i][dAmount][0] < 35)
                {
                    DropObject[i] = CreateObject(gh_GetObjectID(DropInfo[i][dAmount][0]), DropInfo[i][dx], DropInfo[i][dy], DropInfo[i][dz]-1, 80.0, 0, 0, 200.0, DropInfo[i][dWorld]);
                }
            }
Reply


Messages In This Thread
OnPlayerDeath - by Mikkel_RE - 27.11.2012, 19:53
AW: OnPlayerDeath - by Skimmer - 27.11.2012, 20:06
Re: OnPlayerDeath - by Mikkel_RE - 27.11.2012, 20:11
Re: OnPlayerDeath - by [KHK]Khalid - 27.11.2012, 20:14
Re: OnPlayerDeath - by Mikkel_RE - 27.11.2012, 20:23
AW: OnPlayerDeath - by Skimmer - 27.11.2012, 20:32
Re: OnPlayerDeath - by Mikkel_RE - 27.11.2012, 20:39
Re: OnPlayerDeath - by [KHK]Khalid - 27.11.2012, 21:02

Forum Jump:


Users browsing this thread: 4 Guest(s)