if(sscanf(params, "i",teleport)) return SCM(playerid,-1,"Use: /teleport (number)");
switch(teleport) { case 1: { //teleport code for 1 put here } case 2: { //teleport code for 2 put here } }