Jump to content
  • 0

Am si eu un gm si nu mere score:|


Guest stiinta09

Question

Guest stiinta09

va rog ajutatima si pe mn cu un gm nu merge score:|cand fak un kill nu imi baga score:| pm sau XXXXXXXXXXXXXX

--Nu mai posta ID-ul... -cmg4life

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

lasa ca e mai bine aici si nu in PM :D

cauta onplayerdeath si inlocuieste-l cu asta:

public OnPlayerDeath(playerid, killerid, reason)
{
	if(!Kill[playerid])
	{
		SendDeathMessage(killerid, playerid, reason);
	}
	SetPlayerScore(killerid,(GetPlayerScore(killerid))+1);
 	return 1;
}

da-mi un punct la respect ;;):D ;D  ;)

Link to comment
Share on other sites

public OnPlayerDeath( playerid, killerid, reason )

{

if ( killerid != INVALID_PLAYER_ID || IsPlayerConnected ( killerid ) )

{

Kills[ killerid ]++;

SetPlayerScore( killerid, Kills[ killerid ] );

                SendClientMessage( killerid, 0x000000, "Bravo. Ai un punct in +" );

}

return true;

}

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.