Jump to content

IstuntmanI

Membru
  • Posts

    3.897
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by IstuntmanI

  1. Tare, O s-o folosesc ^.^
  2. Pui asa: - OnGameModeInit: SetTimerEx("AutoRepair",1000,1); - Undeva in script: forward AutoRepair( ); public AutoRepair( ) { RepairVehicle( ID_VEHICUL ); }
  3. Frumos, in sfarsit un GM postat de romani cu ZCMD xD
  4. De fapt, new Lang[ MAX_PLAYERS ]; sus in script.
  5. Setezi o variabila care sa fie limba, la 0 pentru engleza, 1 pentru romana, si pui functia asta: stock SendClientLanguageMessage( playerid, color, eng[ ], ro[ ] ) { switch( Language[ playerid ] ) { case 0: SendClientMessage( playerid, color, eng ); case 1: SendClientMessage( playerid, color, ro ); } return 1; } Si in loc de (exemplu) SendClientMessage( playerid, COLOR_WHITE, "Ce faci ?" ); folosesti SendClientLanguageMessage( playerid, COLOR_WHITE, "What are you doing ?", "Ce faci ?" ); Sper ca te-ai prins ... PS: La /ro pui Language[ playerid ] = 1, iar la /eng pui Language[ playerid ] = 0;
  6. IstuntmanI

    [MAP]Drift

    Frumoasa mapa, 4/5.
  7. DirectX 9.0c.
  8. Sa trimita mesaje si gametext la 60, 50, 40, 30, 20, 10 secunde, iar mesajul sa nu se dea iar, ci sa se modifice ? Nu se poate. EXPLICA OMULE MAI BINE !!! Vai de explicatiile voastre !
  9. 1. Titlul. 2. Pune in varful scriptului asta: #pragma unused GetPointDistanceToPointExMorph 3. Pune jos in script asta: strtok(const stringstrtok[], &index) { new length = strlen(stringstrtok); while ((index < length) && (stringstrtok[index] <= ' ')) { index++; } new offset = index, result[20]; while ((index < length) && (stringstrtok[index] > ' ') && ((index - offset) < (sizeof(result) - 1))) { result[index - offset] = stringstrtok[index]; index++; } result[index - offset] = EOS; return result; }
  10. Pai tu ce vrei ? Ce am inteles eu: cand incepe o cursa (60 secunde pana la inceput) sa zica intr-un gametext si intr-un mesaj ca mai sunt 60 de secunde pana la start si sa dea /join. PS: Nici voi nu stiti sa explicati ...
  11. Nu zice de asta, zice sa scrie /status si sa i se seteze un 3dText deasupra capului cu ce scrie. Cu SetPlayerChatBubble e naspa ca trebuie si timp.
  12. Incearca asa: case 60: { new string[256] ; format(string, sizeof(string), "{FFFF00}>>{00FF00}\"60\"{E60000} seconds till {00FF00}\"%s\" {E60000}named race starts! Type {00FF00}\"/join\" {E60000}to join the race.", RaceName); SendClientMessageToAll(GREEN, string); format(ystring,sizeof(ystring),"~w~The race will start in ~r~~h~60 ~w~sec ~g~Type ~y~/join ~g~to join.", MajorityDelay); GameTextForAll(ystring, 5000, 1 ); } } return CountAmount--; }
  13. Ba "shtim" . Nu-ti voi da mura-n gura, dar te ajuta wiki: http://wiki.sa-mp.com/wiki/Create3DTextLabel //Creezi textul de deasupra capului, momentan nu este deasupra capului http://wiki.sa-mp.com/wiki/Attach3DTextLabelToPlayer //Atasezi textul de cap, cu coordonata Z potrivita http://wiki.sa-mp.com/wiki/Update3DTextLabelText //Updatezi textul cand scrie /status <text>
  14. Exact p'asta l-am vazut ieri. :cheesy: Sa faci sa scrie /hide, iar apoi sa-i apara un dialog in care sa aleaga: Box, Chestia aia a ta, si alte chestii.
  15. Odata erati cu Groove Street, pe urma cu Plaja LS parca, iar acum cu parcarea asta, ceva unic nu puteti ? 4/5, nu prea se potrivesc acele garduri cu parcarea.
  16. Zh3r0, o idee belea, bravo. Vazusem ieri un script asemanator de MTA, se ascundea sub o cutie. Cred ca o sa folosesc scriptul, il modific putin. :grin: 10/10
  17. N-are cum sa continue pana la infinit, dar poate pana la un numar mai mare, vezi sa ai DOAR 4 AddPlayerClass-uri sub OnGameModeInit. Si pune si asa: public OnPlayerRequestClass(playerid, classid) { new loginstring[ 256 ], loginname[ 64 ], regstring[ 256 ], string[ 256 ], escip[ 15 ], ip[ 15 ] ; GetPlayerIp(playerid, ip, 15); mysql_real_escape_string(ip, escip); GetPlayerName(playerid,loginname,sizeof(loginname)); if (gPlayerAccount[playerid] != 0) { if(gPlayerLogged[playerid] == 0) { format(loginstring,sizeof(loginstring),"{FFFFFF}Your IP is different, please enter your password.",loginname); ShowPlayerDialog(playerid,1,DIALOG_STYLE_INPUT,"{FFFFFF}Login to the server.",loginstring,"Login", ""); } } else { gPlayerAccount[playerid] = 0; format(regstring,sizeof(regstring),"{FFFFFF}Welcome on {0000FF}eXtrike Federation{FFFFFF}.\n{FFFFFF}What's up {0000FF}%s{FFFFFF}? Please enter your password.",loginname); ShowPlayerDialog(playerid,2,DIALOG_STYLE_INPUT,"{FFFFFF}Login to the server.",regstring,"Register", ""); } SetPlayerPos(playerid, -2482.26, -285.37, 40.54); SetPlayerFacingAngle(playerid, 90.00); SetPlayerCameraPos(playerid, -2485.67, -287.22, 42.34); SetPlayerCameraLookAt(playerid, -2481.59, -285.01, 40.49); if (classid == 0) { SetPlayerSkin(playerid, 180); format(string, sizeof(string), "~r~Bloodz"); GameTextForPlayer(playerid,string,3500,6); } else if (classid == 1) { SetPlayerSkin(playerid, 67); format(string, sizeof(string), "~r~Bloodz"); GameTextForPlayer(playerid,string,3500,6); } else if (classid == 2) { SetPlayerSkin(playerid, 297); format(string, sizeof(string), "~b~Cripz"); GameTextForPlayer(playerid,string,3500,6); } else if (classid == 3) { SetPlayerSkin(playerid, 21); format(string, sizeof(string), "~b~Cripz"); GameTextForPlayer(playerid,string,3500,6); } SetPlayerTeamFromClass(playerid,classid); return 1; } public SetPlayerTeamFromClass(playerid,classid) { if (classid == 0) { SetPlayerSkin(playerid, 180); PlayerInfo[playerid][pGangTeam] = 1; } else if (classid == 1) { SetPlayerSkin(playerid, 67); PlayerInfo[playerid][pGangTeam] = 1; } else if (classid == 2) { SetPlayerSkin(playerid, 297); PlayerInfo[playerid][pGangTeam] = 2; } else if (classid == 3) { SetPlayerSkin(playerid, 21); PlayerInfo[playerid][pGangTeam] = 2; } } else classid = 0;nu prea-si avea rostul.
  18. 1. Titlul. 2. Nu din GM. 3. Trebuie modificat custom.img (sa-l modifice fiecare player) cu cel care-l foloseste serverul ... mai complicat.
  19. Frumoasa mapa, 5/5, avand in vedere ca este cam prima.
  20. Vezi ca la /enter sa seteze si la chirias ca a intrat in casa ... Probleme Godfather.
  21. De ce nu poti iesi din casa, nu te lasa parintii ? xD ( joke ) Stai sa-i imprumut globul de cristal al lui TheGuardianAngel, ca sa vad daca ghicesc ce are ... Posteaza comanda !
  22. Prea simpla, 3.5 / 5
  23. Uite ca eu am putut sa tin.
  24. IstuntmanI

    Problema

    Pune query din server.cfg la 1.
  25. 3/5 ...
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.