helló lenne egy kis gond az a baj hogy nem tudom mér nem veszi le a pénzt és nem tudom mér nem írja ki sendclientmessage
new oldlevel;
new newlevel;
oldlevel = GetPlayerWantedLevel(playerid);
newlevel = oldlevel + 1;
SetPlayerWantedLevel(playerid, newlevel);
SetPlayerWantedLevel(playerid, 0);
if(GetPlayerWantedLevel(playerid) == 1) {
RewardPlayer(playerid, -1000, 0);
SetPlayerWantedLevel(playerid, 0);
SendClientMessage(playerid, 0xFFFFFFFF,\"You killed a criminal and earned 1000$!\");}
else if(GetPlayerWantedLevel(playerid) == 2) {
RewardPlayer(playerid, -2000, 0);
SetPlayerWantedLevel(playerid, 0);
SendClientMessage(playerid, 0xFFFFFFFF,\"You killed a criminal and earned 2000$!\");}
else if(GetPlayerWantedLevel(playerid) == 3) {
RewardPlayer(playerid, -3000, 0);
SetPlayerWantedLevel(playerid, 0);
SendClientMessage(pickupid, 0xFFFFFFFF,\"You killed a criminal and earned 3000$!\");}
else if(GetPlayerWantedLevel(playerid) == 4) {
RewardPlayer(playerid, -4000, 0);
SetPlayerWantedLevel(playerid, 0);
SendClientMessage(playerid, 0xFFFFFFFF,\"You killed a criminal and earned 4000$!\");}
else if(GetPlayerWantedLevel(playerid) == 5) {
RewardPlayer(playerid, -5000, 0);
SetPlayerWantedLevel(playerid, 0);
SendClientMessage(playerid, 0xFFFFFFFF,\"You killed a criminal and earned 5000$!\");}
else if(GetPlayerWantedLevel(playerid) == 6) {
RewardPlayer(playerid, -6000, 0);
SetPlayerWantedLevel(playerid, 0);
SendClientMessage(playerid, 0xFFFFFFFF,\"You killed a criminal and earned 6000$!\");}
kösz elõre is helló