SetPlayerClass
public text v1 · immutable SetPlayerClass(playerid, classid) { //Changes the format of from a team id to a team class name.
if(classid == 0) { // If the team id is 0...
gTeam[playerid] = TEAM_POLICE; //...set the team of the player to "TEAM_POLICE"
}
}