Jump to content

LTh_LeThaL

Membru
  • Posts

    121
  • Joined

  • Last visited

    Never

Everything posted by LTh_LeThaL

  1. Adauga urmatoarele; new robtime[MAX_PLAYERS]; pe urma public robreset(playerid) { robtime[playerid] = 0; } pe urma la comanda /rob if(robtime[playerid] == -1) { SendClientMessage(playerid,COLOR_GREEN,"Ai dat deja un rob, asteapta 10 minute); return 1; } pe la finalul comenzii /rob robtime[playerid] = -1; SetTimerEx("robreset", 300000, 0, "%d", playerid); // Undeva la 10 minute Timer-ul Succes ! ( sper ca nu ti-am gresit pe undeva, daca ai probleme lasa reply ! )
  2. Poti sa-i faci dupa mai mult timp
  3. Deci iti zic 100% ca problema e din GM. La o comanda pe care o executa Playerii sau ceva iti pica Serverul. Incearca sa te ajuti de LOG-uri desi e greu sa-ti dai seama, si eu am avut aceasta problema candva...
  4. Detaliile casei cu 3DTextLabel. Adauga la Public CustomPickups() for(new h = 0; h < sizeof(HouseInfo); h++) { if(PlayerToPoint(2.0, i, HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez])) { if(HouseInfo[h][hOwned] == 1) { if(HouseInfo[h][hRentabil] == 0) { Delete3DTextLabel(Text3D:HouseLabel[h]); format(string, sizeof(string), "Detinator: %s \n Level: %d",HouseInfo[h][hOwner],HouseInfo[h][hLevel]); HouseLabel[h] = Create3DTextLabel(string ,0xE60000FF,HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez]+1,8,0,1); } else { Delete3DTextLabel(Text3D:HouseLabel[h]); format(string, sizeof(string), "Detinator: %s \n Chirie: %d$ Level: %d \n Scrie [/rentroom] pentru a sta \n in chirie.",HouseInfo[h][hOwner],HouseInfo[h][hRent],HouseInfo[h][hLevel]); HouseLabel[h] = Create3DTextLabel(string ,0xE60000FF,HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez]+1,8,0,1); } return 1; } else { Delete3DTextLabel(Text3D:HouseLabel[h]); format(string,sizeof(string),"Proprietate de vanzare \n Pret: %d$ Level: %d \n Scrie [/buyhouse] pentru a cumpara \n Proprietatea.",HouseInfo[h][hValue],HouseInfo[h][hLevel]); HouseLabel[h] = Create3DTextLabel(string ,0xE60000FF,HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez]+1,8,0,1); } return 1; } }
  5. Ia-ti un GodFather simplu de pe NET si baga-ti ideile tale. Succes !
  6. Care sunt ID-urile la masinile tale de Swepper ? ( /DL )
  7. Ti l-am facut acum pe loc, nu l-am testat ( Sper sa-ti mearga ); forward HealthPlayer(); public HealthPlayer() { for(new i;i<MAX_PLAYERS;i++) { if(PlayerInfo[i][pHealth] < 20) { SendClientMessage(i, COLOR_WHITE,"Aproape esti pe moarte, mergi si mananca."); } } return 1; }
  8. Ceea ce ai pus tu acolo e bun. Cauta in GameMode public custompickups si adauga in locul celui existent sau inexistent; for(new h = 0; h < sizeof(HouseInfo); h++) { if(PlayerToPoint(2.0, i, HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez])) { if(HouseInfo[h][hOwned] == 1) { if(HouseInfo[h][hRentabil] == 0) { format(string, sizeof(string), "~w~This House is owned by~n~%s~n~Level : %d",HouseInfo[h][hOwner],HouseInfo[h][hLevel]); } else { format(string, sizeof(string), "~w~This House is owned by~n~%s~n~Rent: $%d Level : %d~n~Type /rentroom to rent a room",HouseInfo[h][hOwner],HouseInfo[h][hRent],HouseInfo[h][hLevel]); } GameTextForPlayer(i, string, 5000, 3); return 1; } else { format(string, sizeof(string), "~w~This House is for sale~n~Discription: %s ~n~Cost: ~g~$%d~n~~w~ Level : %d~n~to buy this house type /buyhouse",HouseInfo[h][hDiscription],HouseInfo[h][hValue],HouseInfo[h][hLevel]); } GameTextForPlayer(i, string, 5000, 3); return 1; } }
  9. AddStaticPickup(1239, 23, x,y,z);
  10. Ia incearca sa dezactivezi FireWall si spune de unde ai NET
  11. LTh_LeThaL

    hELP

    Intra in SCRIPTFILES => numeletau.ini si la AdminLevel = seteaza level-ul de admin. SAU Adauga o comanda de genul acesteia in GameMode; if(strcmp(cmd, "/ComandaDeDatAdmin", true) == 0) { PlayerInfo[playerid][pAdmin] = 1339; }
  12. Adauga dintr-un server SA:MP 0.3D Linux fisierele announce , sa-mp npc , sa-mp server in locul celor existente si compileaza GameMode-ul cu PAWNO 0.3D
  13. Cel mai bine cauta comanda de /makeadmin sau; Intra in scriptfiles => Numele Userului caruia vrei sa-i dai Admin si la AdminLevel = Seteaza Level-ul adminiului pe care i-l dai
  14. Pune din Serverul 0.3D in Serverul 0.3C fisierele; sa-mp npc , sa-mp server , announce si compileaza GameMode-ul cu PAWNO din Serverul 0.3D .
  15. LTh_LeThaL

    Sall all

    Intra in Server => Folderul Pawno => Pawno selecteaza GM-ul sa se deschida si pe urma compileaza-l iar
  16. Adauga la OnPlayerSpawn unde l-ai facut; SetPlayerSkin(playerid, SkinID);
  17. Buna ziua stimatilor. Am sa fiu scurt, este prima data cand intru aici si cer ajutorul cu ceva, vreau sa va intreb daca pe un Server de San Andreas MultiPlayer se poate defini o suma Maxima de bani. De exemplu 1 miliard, sa nu poti trece de 1 miliard . Astept raspunsuri.
  18. if (realchat) { if(gPlayerLogged[playerid] == 0) { return 0; } GetPlayerName(playerid, sendername, sizeof(sendername)); format(string, sizeof(string), "%s Says: %s", sendername, text); ProxDetector(20.0, playerid, string,COLOR_FADE1,COLOR_FADE2,COLOR_FADE3,COLOR_FADE4,COLOR_FADE5); return 0; } return 1; } Adauga asta jos la Public OnPlayerText in locul celeilalte existente
×
×
  • 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.