Object when Person died
#4

Sure:

pawn Код:
new deathObj[MAX_PLAYERS];

public OnPlayerDeath(playerid, killerid, reason)
{
    new Float:x, Float:y, Float:z;
    GetPlayerPos(playerid, x, y, z);
    deathObject[playerid] = CreateObject...
    return 1;
}
EDIT: Tested it, it should work
Reply


Messages In This Thread
Object when Person died - by Blackazur - 22.02.2014, 21:15
Re: Object when Person died - by redneckvideogamer - 22.02.2014, 21:18
AW: Object when Person died - by Blackazur - 22.02.2014, 21:19
Re: Object when Person died - by redneckvideogamer - 22.02.2014, 21:23

Forum Jump:


Users browsing this thread: 2 Guest(s)