Quote:
Originally Posted by [D]ry[D]esert
try this:
pawn Код:
public OnPlayerDeath(playerid, killerid, reason) { new pSore; pScore = GetPlayerScore(killerid); SetPlayerScore(killerid,pScore + 1 ); //1 is the amount of score you want to give it to the killer GivePlayerMoney(killerid,50);//50 is the amount of money you want to give it to the killer GameTextForPlayer(killerid,"Keep Killing !",2000,4); } public OnPlayerTakeDamage(playerid, issuerid, Float: amount, weaponid) { if(issuerid != INVALID_PLAYER_ID) { if(gTeam[issuerid] == gTeam[playerid]) { GameTextForPlayer(issuerid,"Dont Kill Team Mates !",2000,4); } } return 1; }
|
This is right!!!
Avi57, sorry i didnt help you, this guy outshipped me