30.06.2016, 23:47
puse este codigo pero no funciona.
de que es? Pss es para que cuando alguien este robando y lo matan salga en el chat que x persona lo mato y evito el robo Gracias
Quote:
if(killerid != INVALID_PLAYER_ID) { if(Cantidad[playerid] > 0 && killerid != playerid) { new string6[128]; format(string6,sizeof(string6),"{ED1FE6}El Jugador %s asesino A {0000ff}%s[%d] {ED1FE6}y Prohibio el Robo.", Nombre(killerid), Nombre(playerid),playerid); SendClientMessageToAll(COLOR_DUELO,string6); GivePlayerMoney(killerid, 20000); Cantidad[playerid] = 1; } else { return 0; } |