if(strcmp(cmdtext, "/up", true) ==0) { new upnum[256], index; upnum = strtok(cmdtext, index); if(!strlen(upnum)) { SendErrMsg(playerid, "Usage: /up "); } else { new Float:x, Float:y, Float:z; GetPlayerPos(playerid, x, y, z); SendInfMsg(playerid, "You are moved up"); SetPlayerPos(playerid, x, y, z + strval(upnum)); } return 1; }