dcmd_s(playerid,params[]) { new tmp[256],tmp2[256],tmp3[256],Index; tmp = strtok(params,Index), tmp2 = strtok(params,Index), tmp3 = strtok(params,Index); new id = strval(tmp); new name = strval(tmp2); print("Got here1!"); new vehicles; if (strlen(tmp) && strlen(tmp2)) { print("Got here2!"); if (pInfo[playerid][Admin] >= 2) { print("Got here3!"); new isset = dini_Isset("sl", tmp); if (!isset) { print("Got here4!"); new Float:x,Float:y,Float:z,Float:ang; new ins[256]; GetPlayerPos(playerid, x, y, z); GetPlayerFacingAngle(playerid, ang); if (strlen(tmp3)) { vehicles = 1; } else { vehicles = 0; } format(ins, 256, "%i %i %i %i %s %s", x, y, z, ang, name, vehicles); dini_Set("sl", tmp3, ins); SendClientMessage(playerid, COLOR_CYAN, "[CP] New Saved Checkpoint was added, you can now go there by /l [ID]"); } } } return 1; }