[HELP] Wanted Level
#1

When Player Kill a Player it do this:


Код:
public OnPlayerDeath(playerid, killerid, reason)
{
SetPlayerWantedLevel(killerid,GetPlayerWantedLevel(playerid) +1);
}
else
{
SetPlayerWantedLevel(killerid, 1);
}
but i got an error . where?



Reply
#2

u havent got any if so the "else" is making an error
pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
SetPlayerWantedLevel(killerid,GetPlayerWantedLevel(playerid) +1);
return 1;
}
{
only that.
Reply
#3

oh lol tyvm
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)