Jump to content

Shade

Member
  • Posts

    78
  • Joined

  • Last visited

Everything posted by Shade

  1. Lasă id-ul de discord,doresc să te întreb o mica chestie.
  2. Salut Leaks.ro, am decis sa ma apuc de un gamemode de la 0. Vreau ca acest gamemode sa fie de lunga durata si sa contina cate ceva unic. Deci, pentru inceput folosesc pluginurile: mysql r39.3, sscanf si streamer. Din include-uri: a_samp, y_iterate, y_timers, y_hooks, a_mysql, sscanf2, zcmd si streamer Update v0.01A 1. Adaugat un sistem de register/login 2. Sistem de Admin/Agenti pe iterator 3. Adaugat un textdraw ce arata data/ora si un LOGO la server. 4. Adaugat un mapping la spawn. 5. Mesaje Random la fiecare 15 minute. 6. Toate timerele pe y_timers 7. Adaugat un sistem de DMV (teorie/practica) 8. Mapping pentru interior la DMV 9. Textdraw DMV la partea practica. 10. O parte din comenzile adminilor au fost adaugate (Admin 1) 11. AntiSQL injection. 12. Gamemode-ul a fost trecut pe module 13. Toate dialogurile sunt pe enum{} si switch 14. Adaugat un anticheat la bani, arme, viata, armura(momentan) La urmatorul Update voi adauga si niste poze.
  3. Nickname: Aspid Numele creatorului: Aspid Prezentare (optionala, dar recomandam cateva imagini sau un video): Link VirusTotal: Nu e nevoie Link descarcare: La toate variabilele adaugat new Float:tpp[MAX_PLAYERS][4],Float:ttp[MAX_PLAYERS][3]; facem o functie noua function TeleportCam(playerid, step, Float:xg, Float:yg, Float:zg, Float:ag) { switch (step) { case 1: { if(GetPVarInt(playerid,"ENDTP") > gettime() || IsPlayerInRangeOfPoint(playerid, 5.0, xg, yg, zg)) return true; SetPVarInt(playerid,"ENDTP",gettime() + 10); PlayerPlaySound(playerid, 1132, 0.0, 0.0, 0.0); tpp[playerid][0] = xg,tpp[playerid][1] = yg,tpp[playerid][2] = zg,tpp[playerid][3] = ag; GetPlayerPos(playerid, ttp[playerid][0],ttp[playerid][1],ttp[playerid][2]); if(IsPlayerInAnyVehicle(playerid) && 2 == GetPlayerState(playerid)) SetVehicleVirtualWorld(GetPlayerVehicleID(playerid), playerid+1); SetPlayerVirtualWorld(playerid,playerid+1); TogglePlayerControllable(playerid,0); SetPlayerCameraPos(playerid, ttp[playerid][0],ttp[playerid][1],ttp[playerid][2]+20); SetPlayerCameraLookAt(playerid, ttp[playerid][0],ttp[playerid][1],ttp[playerid][2]); SetTimerEx("TeleportCam",1000,false,"ii",playerid,2); } case 2: { PlayerPlaySound(playerid, 1132, 0.0, 0.0, 0.0); SetPlayerCameraPos(playerid, ttp[playerid][0],ttp[playerid][1],ttp[playerid][2]+50); SetPlayerCameraLookAt(playerid, ttp[playerid][0],ttp[playerid][1],ttp[playerid][2]); SetTimerEx("TeleportCam",1000,false,"ii",playerid,3); } case 3: { PlayerPlaySound(playerid, 1132, 0.0, 0.0, 0.0); SetPlayerCameraPos(playerid, ttp[playerid][0],ttp[playerid][1],ttp[playerid][2]+100); SetPlayerCameraLookAt(playerid, ttp[playerid][0],ttp[playerid][1],ttp[playerid][2]); SetTimerEx("TeleportCam",1000,false,"ii",playerid,4); } case 4: { PlayerPlaySound(playerid, 1132, 0.0, 0.0, 0.0); SetPlayerCameraPos(playerid, ttp[playerid][0],ttp[playerid][1],ttp[playerid][2]+200); SetPlayerCameraLookAt(playerid, ttp[playerid][0],ttp[playerid][1],ttp[playerid][2]); SetTimerEx("TeleportCam",1000,false,"ii",playerid,5); } case 5: { if(IsPlayerInAnyVehicle(playerid) && 2 == GetPlayerState(playerid)) { SetVehiclePos(GetPlayerVehicleID(playerid),tpp[playerid][0],tpp[playerid][1],tpp[playerid][2]); SetVehicleZAngle(GetPlayerVehicleID(playerid),tpp[playerid][3]); } else { SetPlayerPos(playerid,tpp[playerid][0],tpp[playerid][1],tpp[playerid][2]); SetPlayerFacingAngle(playerid,tpp[playerid][3]); } InterpolateCameraPos(playerid, ttp[playerid][0],ttp[playerid][1],ttp[playerid][2]+200, tpp[playerid][0],tpp[playerid][1],tpp[playerid][2]+200, 3000); InterpolateCameraLookAt(playerid, ttp[playerid][0],ttp[playerid][1],ttp[playerid][2], tpp[playerid][0],tpp[playerid][1],tpp[playerid][2], 3000); SetTimerEx("TeleportCam",4000,false,"ii",playerid,6); } case 6: { PlayerPlaySound(playerid, 1132, 0.0, 0.0, 0.0); SetPlayerCameraPos(playerid, tpp[playerid][0],tpp[playerid][1],tpp[playerid][2]+100); SetPlayerCameraLookAt(playerid, tpp[playerid][0],tpp[playerid][1],tpp[playerid][2]); SetTimerEx("TeleportCam",1000,false,"ii",playerid,7); } case 7:{ PlayerPlaySound(playerid, 1132, 0.0, 0.0, 0.0); SetPlayerCameraPos(playerid, tpp[playerid][0],tpp[playerid][1],tpp[playerid][2]+50); SetPlayerCameraLookAt(playerid, tpp[playerid][0],tpp[playerid][1],tpp[playerid][2]); SetTimerEx("TeleportCam",1000,false,"ii",playerid,8); } case 8:{ PlayerPlaySound(playerid, 1150, 0.0, 0.0, 0.0); TogglePlayerControllable(playerid, true); SetPlayerVirtualWorld(playerid,0); if(IsPlayerInAnyVehicle(playerid) && 2 == GetPlayerState(playerid)) SetVehicleVirtualWorld(GetPlayerVehicleID(playerid), 0); SetPlayerVirtualWorld(playerid,0); SetCameraBehindPlayer(playerid); } } return true; } Alte precizari:Merci pentru timpul acordat
  4. Shade

    Gamemode - Donboo

    Chiar imi e interesant
  5. Sunt destul de vechi aceste gamemode-uri.
  6. Felicitari pentru munca depusa. Mult succes in continuare.
  7. Username: Aspid Vârstă: 21 Ce recrutezi?: Caut proiect de lunga durata care are nevoie de un scripter. Ce oferi în schimb: Lucrez gratuit, nu am nevoie de bani. Imi trebuie putina practica. Detalii de contact: discord: Aspid#3644 Alte precizări: Merci pentru timpul acordat. Bafta
×
×
  • Create New...