Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- else if(!strcmp(cmd, "/safety", true))
- {
- if(!IsPlayerInAnyVehicle(playerid)) return MSG_NOVEHICLE(playerid);
- if(IsEngineCar(GetPlayerVehicleID(playerid)))
- {
- if(!PlayerOnRemen[playerid])
- {
- if(IsMoto(GetPlayerVehicleID(playerid)))
- {
- SendClientMessage(playerid, COLOR_WHITE, "Jus uzlikat kjiveri");
- SetPlayerChatBubble(playerid, "Uzlika ķiveri", COLOR_AQUA, 30.0, 5000);
- }
- else
- {
- SendClientMessage(playerid, COLOR_WHITE, "Jus uzlikat droshibas jostu");
- SetPlayerChatBubble(playerid, "Uzlika drošības jostu", COLOR_AQUA, 30.0, 5000);
- }
- }
- else
- {
- if(IsMoto(GetPlayerVehicleID(playerid)))
- {
- SendClientMessage(playerid, COLOR_WHITE, "Jus nonjemat kjiveri!");
- SetPlayerChatBubble(playerid, "Noņēma ķiveri", COLOR_AQUA, 30.0, 5000);
- }
- else
- {
- SendClientMessage(playerid, COLOR_WHITE, "Tu nonjemi droshibas jostu!");
- SetPlayerChatBubble(playerid, "Noņema drošības jostu", COLOR_AQUA, 30.0, 5000);
- }
- }
- PlayerPlaySound(playerid, 1145, 0.0, 0.0, 0.0);
- PlayerOnRemen[playerid] = !PlayerOnRemen[playerid];
- }
- else
- {
- SendClientMessage(playerid, COLOR_GREEN, "Jusu transportlidzeklim nav jostas!");
- }
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement