Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- DRIFT SISTEM BY STEFKE
- */
- #include < a_samp >
- #include < fdialog >
- #include < YSI\y_commands >
- ////
- #define SCM SendClientMessage
- #define SPD ShowPlayerDialog
- //////////////////////////////////////////////////////////////////
- #define BELA "{FFFFFF}"
- #define CRVENA "{F81414}"
- #define SPLAVA "{00C0FF}"
- #define PLAVA "{3399FF}"
- YCMD:driftmode(playerid, params[], help)
- {
- #pragma unused help
- if(UlogovanProvera[playerid] == 0) return SCM(playerid,-1,"***"BELA"Luda Kuca:"CRVENA"Moras se ulogovati da bi koristio ovu komandu!");
- if(PlayerInfo[playerid][pVlasnik] != 1) return SCM(playerid,-1,""PLAVA"(("BELA" Luda Kuca "PLAVA"))"SIVA"Samo Vlasnik!");
- if(AdminDuty[playerid] == 0) return SCM(playerid,-1,""PLAVA"(("BELA" Luda Kuca "PLAVA"))"SIVA"Morate biti na admin duznosti!");
- SPD(playerid,321, DIALOG_STYLE_LIST, ""BELA"Drift Mode By Stefke", "Drift Mode 1 (Gravity 0.006)\nDrift Mode 2 (Gravity 0.005)\nDrift Mode 3 (Gravity 0.004)\nNormal Mode (Gravity 0.008)", "Odaberi", "Izlaz");
- return 1;
- }
- ///////
- fDialog(321)
- {
- if(!response) return 1;
- switch(listitem)
- {
- case 0:
- {
- SetGravity(0.006);
- SCM(playerid,-1,""SPLAVA"*** "BELA"Uspesno ste upalili drift handling "CRVENA"(0.006 Gravity)"BELA" na serveru, uzivajte!");
- }
- case 1:
- {
- SetGravity(0.005);
- SCM(playerid,-1,""SPLAVA"*** "BELA"Uspesno ste upalili drift handling "CRVENA"(0.005 Gravity)"BELA" na serveru, uzivajte!");
- }
- case 2:
- {
- SetGravity(0.004);
- SCM(playerid,-1,""SPLAVA"*** "BELA"Uspesno ste upalili drift handling "CRVENA"(0.004 Gravity)"BELA" na serveru, uzivajte!");
- }
- case 3:
- {
- SetGravity(0.008);
- SCM(playerid,-1,""SPLAVA"*** "BELA"Uspesno ste ugasili drift handling "CRVENA"(0.008 Normal Gravity)"BELA" na serveru, uzivajte!");
- }
- }
- return 1;
- }
Add Comment
Please, Sign In to add comment