18.11.2016, 17:25
So when i test first kill system i release that its have a big problems, first of all its give exp for both persons who made it first like Player1 killed Player2 they get both exp bat only Player1 should get exp. Ant other bug its doesn't matter if he killed his self like explode he still get exp for first kill like its doesn't detect if someone killing him. Sorry for me bad sentence.
Her me code
Her me code
Код:
if(killcounter == 1) { new fbname[MAX_PLAYER_NAME], fbstring[128]; GetPlayerName(killerid, fbname, sizeof(fbname)); format(fbstring, sizeof(fbstring),""chat""COL_WHITE" %s "COL_GREEN"has made first kill and achieve "COL_WHITE"25EXP", fbname); SendClientMessageToAll(0xAFAFAFAA, fbstring); GameTextForAll(fbstring, 2000, 3); GivePlayerXP(playerid,25);