for(new i=0;i<MAX_PLAYERS; i++) continue; {
if((!IsPlayerConnected(targetid)) || (targetid == INVALID_PLAYER_ID))
{
SendClientMessage(playerid, 0xFF0000, "Player Is Not Connected!");
}
}
when I don't add this, the server doesn't check if the targetid is valid or not,whatever the id you would enter, you would ended up being the targetid instead, even if you do /setlevel 5000 4 it would work