//wanted level ---------------- if(strcmp(cmd, "/setwantedlevel", true, 15)==0) { if(gTeam[playerid] == TEAM_COP) { new wantedplayerid; new wantedlevel; wantedplayerid=strval(strtok(cmdtext, idx)); //replace intval with the function that convert a string into an int and strtok to a splitting function. wantedlevel=strval(strtok(cmdtext, idx)); //replace intval with the function that convert a string into an int and strtok to a splitting function. allWantedLevels[wantedplayerid]=wantedlevel; new message[256]; new wantedplayername[30]; GetPlayerName(wantedplayerid, wantedplayername, MAX_PLAYER_NAME); format(message, sizeof(message), "%s has now wanted level %d", wantedplayername, wantedlevel); SetPlayerColor(wantedplayerid, 0xFF0000AA); for(new i;i