The health meter dosnt move
#1

When I tested my script with a firend, the healyh meter didnt move when we tried to kill each other...

Thanks for answers
Reply
#2

Quote:
Originally Posted by Littleman774
Quote:
Originally Posted by иєσz
I was going to help you, but after I saw your last reply I'm not going to.

Handle us with respect, at least we're the ones trying to help you.
Well then, I turn to a more friendly scripter.
And show us the code.
Reply
#3

The only thing I've modified with Death is this:

Код:
public OnPlayerDeath(playerid, killerid, reason)
{
	SendDeathMessage(killerid, playerid, reason);
	return 1;
}
Reply
#4

Try:

pawn Код:
SendDeathMessage(killer, victim, reason)
Reply
#5

Quote:
Originally Posted by Klutty
Try:

pawn Код:
SendDeathMessage(killer, victim, reason)
It says:

undefined symbol "victim"

and

undefined symbol "killer"

Reply
#6

Quote:
Originally Posted by Klutty
Try:

pawn Код:
SendDeathMessage(killer, victim, reason)
WTF?

And littleman, give us your OnPlayerConnect, OnPlayerSpawn, or any line that has SetPlayerHealth in it.
Reply
#7

what is health meter,doesnt move?
Reply
#8

Quote:
Originally Posted by OmeRinG
Quote:
Originally Posted by Klutty
Try:

pawn Код:
SendDeathMessage(killer, victim, reason)
WTF?

And littleman, give us your OnPlayerConnect, OnPlayerSpawn, or any line that has SetPlayerHealth in it.
Код:
public OnPlayerConnect(playerid)
{
  GivePlayerMoney(playerid, 300);
  
	SendClientMessage(playerid,0xFFFF00AA,"[ .::. The King of Streets .::. ]");
	SendClientMessage(playerid,0x800080AA,"The Streets RPG v1.0 Beta");

  new pName[MAX_PLAYER_NAME];
  new string[48];
  GetPlayerName(playerid, pName, sizeof(pName));
  format(string, sizeof(string), "%s has joined The Streets. (Joined)", pName);
  SendClientMessageToAll(0x33AA33AA, string);
  return 1;
}
Код:
public OnPlayerSpawn(playerid)
{
	PlayerPlaySound(playerid,1188,0,0,0);
	SetNameTagDrawDistance(5.0);
	return 1;
}
And the one I sended before:

Код:
public OnPlayerDeath(playerid, killerid, reason)
{
	SendDeathMessage(killerid, playerid, reason);
	return 1;
}

Reply
#9

Make a screen of what 'health meter' isnt 'moving'

Quote:
Originally Posted by Klutty
Try:

pawn Код:
SendDeathMessage(killer, victim, reason)
do you even get the problem or are you just trying to get your postcount up.
Reply
#10

When he says health meter I think he just means the standard health bar.. You've either got a script running that acts like god-mode, or one of you was desynched at the time..
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)