OnPlayerDeath
#3

pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{

    new weaponid=GetPlayerWeapon(killerid);//Line 11191
    new weapname[64];//Line 11192
    GetWeaponName(weaponid, weapname,sizeof(weapname));
    SetPVarString(playerid, "gotkilledby",PlayerRPName(killerid));
    SetPVarString(playerid, "gotkilledbygun",weapname);
    return 1;
}
Reply


Messages In This Thread
OnPlayerDeath - by krytans - 30.09.2014, 14:48
Re: OnPlayerDeath - by Onfroi - 30.09.2014, 14:54
Re: OnPlayerDeath - by YanLanger - 30.09.2014, 15:21

Forum Jump:


Users browsing this thread: 1 Guest(s)