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