if(strcmp(cmd, "/buy1", true) == 0) { if(IsPlayerInCheckpoint(playerid)){} }