//Includes #include //colors #define COLOR_GREY 0xAFAFAFAA #define COLOR_RED 0xCC0000AA public OnPlayerCommandText(playerid, cmdtext[]) { //Lock if (strcmp(cmdtext, "/lock", true)==0) { if(!IsPlayerInAnyVehicle(playerid)) return SendClientMessage(playerid,COLOR_RED,"You're not in a vehicle"); if(GetPlayerState(playerid) != PLAYER_STATE_DRIVER) return SendClientMessage(playerid,COLOR_RED,"You can only lock the doors as the driver."); for(new i=0;i