obo[T]\" post=\"157656\" timestamp=\"1311186664\"][pawn]#include <a_samp>/*native GivePlayerScore(playerid,Score);native GivePlayerHealth(playerid,Health);native GivePlayerArmour(playerid,Armour);native TakePlayerScore(playerid,Score);native TakePlayerHealth(playerid,Health);native TakePlayerArmour(playerid,Armour);*/stock GivePlayerScore(playerid,Score){GetPlayerScore(playerid);SetPlayerScore(playerid,score + Score);}stock GivePlayerHealth(playerid,Health){GetPlayerHealth(playerid);SetPlayerHealth(playerid, health + Health);}stock GivePlayerArmour(playerid,Armour){GetPlayerArmour(playerid);SetPlayerArmour(playerid, armour + Armour);}stock TakePlayerScore(playerid,Score){GetPlayerScore(playerid);SetPlayerScore(playerid,score - Score);}stock TakePlayerHealth(playerid,Health){GetPlayerHealth(playerid);SetPlayerHealth(playerid, health - Health);}stock TakePlayerArmour(playerid,Armour){GetPlayerArmour(playerid);SetPlayerArmour(playerid, armour - Armour);}[/pawn]ennyi [/quote]Hibás.Amúgy a givehp-nak és a givearmournak semmi értelme, mert ha 100-on van az élete, azt csak még jobban növeljük...[pawn]#define GivePlayerScore(%0, %1) SetPlayerScore(%0, GetPlayerScore(%0) + %1)#define GivePlayerHealth(%0, %1) SetPlayerHealth(%0, GetPlayerHealth(%0) + %1)#define GivePlayerArmour(%0, %1) SetPlayerArmour(%0, GetPlayerArmour(%0) + %1)#define DeductPlayerScore(%0, %1) SetPlayerScore(%0, GetPlayerScore(%0) - %1)#define DeductPlayerHealth(%0, %1) SetPlayerHealth(%0, GetPlayerHealth(%0) - %1)#define DeductPlayerArmour(%0, %1) SetPlayerArmour(%0, GetPlayerArmour(%0) - %1)[/pawn]Ennyi.