16.07.2010, 02:07
pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
new name[MAX_PLAYER_NAME];
new string[256];
//new dmessage[128];
//new deathreason[20];
new playercash;
new victimteam;
new Float:px,Float:py,Float:pz;
new killerteam;
victimteam = gTeam[playerid];
killerteam = gTeam[killerid];
Soga[playerid] = 0;
Alambre[playerid] = 0;
Pastel[playerid] = 0;
Pavo[playerid] = 0;
Fideo[playerid] = 0;
Milanesa[playerid] = 0;
Papas[playerid] = 0;
Bistec[playerid] = 0;
Cuchilla[playerid] = 0;
gPlayerSpawned[playerid] = 0;
// Street Life: Sistema de Cinturon
PlayerInfo[playerid][pCinturon] = 0;
//****************************************
PlayerInfo[playerid][pInvWeapon] = 0;
PlayerInfo[playerid][pInvAmmo] = 0;
GetPlayerName(playerid, name, sizeof(name));
PlayerInfo[playerid][pLocal] = 255;
GetPlayerPos(playerid, px, py, pz);
if(killerid != 255)
{