if (strcmp(cmdtext, "/unlock", true)==0) 333. { 334. if(IsPlayerInAnyVehicle(playerid)) 335. { 336. new State=GetPlayerState(playerid); 337. if(State!=PLAYER_STATE_DRIVER) 338. { 339. SendClientMessage(playerid,0xFFFF00AA,"You can only unlock the doors as the driver."); 340. return 1; 341. } 342. new i; 343. for(i=0;i