The health meter dosnt move -
Littleman774 - 22.05.2009
When I tested my script with a firend, the healyh meter didnt move when we tried to kill each other...
Thanks for answers
Re: The health meter dosnt move -
Klutty - 22.05.2009
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.
Re: The health meter dosnt move -
Littleman774 - 22.05.2009
The only thing I've modified with Death is this:
Код:
public OnPlayerDeath(playerid, killerid, reason)
{
SendDeathMessage(killerid, playerid, reason);
return 1;
}
Re: The health meter dosnt move -
Klutty - 22.05.2009
Try:
pawn Код:
SendDeathMessage(killer, victim, reason)
Re: The health meter dosnt move -
Littleman774 - 22.05.2009
Quote:
Originally Posted by Klutty
Try:
pawn Код:
SendDeathMessage(killer, victim, reason)
|
It says:
undefined symbol "victim"
and
undefined symbol "killer"
Re: The health meter dosnt move -
OmeRinG - 22.05.2009
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.
Re: The health meter dosnt move -
yezizhu - 22.05.2009
what is health meter,doesnt move?
Re: The health meter dosnt move -
Littleman774 - 22.05.2009
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;
}
Re: The health meter dosnt move -
Think - 22.05.2009
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.
Re: The health meter dosnt move -
Weirdosport - 22.05.2009
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..