Jump to content

Scott_Williams

Membru
  • Posts

    213
  • Joined

  • Last visited

    Never

Everything posted by Scott_Williams

  1. Comanda aia se baga in gm la fel si masinile.
  2. Nu stiu daca asta ar putea fi solutia dar cauta OnPlayerCommandText(): linia in GM si posteaza tot ce e legat de ea.
  3. Trebuia sa descrii mai mult GM-ul. Pentru descriere si gm ai 4/5.
  4. Ia versiunea 0.3d dp www.sa-mp.com si compileaza gm cu pawno de la 0.3d!
  5. Ai copiat de undeva comanda si tu nu ai definiti termenii din comanda.
  6. Posteaza comanda de la Hitman ca nu avem cum sa ghicim ce ai u in GM.La fel si la ceas.
  7. Ar putea fi din cauza sistemului probabil e buguit.
  8. Incearca asa: if(strcmp(cmd, "/fine", true) == 0) { if(IsPlayerConnected(playerid)) { tmp = strtok(cmdtext, idx); new playa; new result; new money; if(!strlen(tmp)) { SendClientMessage(playerid, COLOR_ORANGE, "~|/fine [ID/NuME]/[suma]/[reason]|~"); return 1; } playa = ReturnUser(tmp); tmp = strtok(cmdtext, idx); money = strval(tmp); if (PlayerInfo[playerid][pStaff] >= 4) { if(IsPlayerConnected(playa)) { if(playa != INVALID_PLAYER_ID) { //ConsumingMoney[playa] = 1; GivePlayerMoney(playa, -money); GetPlayerName(playa, giveplayer, sizeof(giveplayer)); GetPlayerName(playerid, sendername, sizeof(sendername)); format(string, 256, "~|{FF0000}AdmCmD: {FF0066}%s a fost amendat de suma {CC00FF}%d$ de catre un admin Motiv: %s", giveplayer, money, (result)); ABroadCast( 0x05FAF3FF,string,1); } } } else { SendClientMessage(playerid, COLOR_WHITE, "Nu esti autorizat sa folosesti aceasta comanda"); } } return 1; }
  9. Daca ai JunkBuster scoatel din Include de la GM si din scriptfiles.
  10. Ca sa iti dai admin singur intri in server -> scriptfiles -> daca ai document cu users intri acolo si iti gasesti numele -> il deschizi si gasesti in el AdminLevel = 0 -> modifici AdminLevel = Cat vrei. Daca nu ai acel document cu users iti gasesti numele direct in scriptfiles.
  11. Scrie ca un este folosita.Ai gresit undeva nu stiu exact sa iti spun pentru ca nu folosesc ZCMD
  12. Adauga in GM: public BroadCast(color,const string[]) { SendClientMessageToAll(color, string); return 1; } public ABroadCast(color,const string[],level) { for(new i = 0; i < MAX_PLAYERS; i++) { if(IsPlayerConnected(i)) { if (PlayerInfo[i][pStaff] >= level) { SendClientMessage(i, color, string); printf("%s", string); } } } return 1; } public OOCOff(color,const string[]) { for(new i = 0; i < MAX_PLAYERS; i++) { if(IsPlayerConnected(i)) { if(!gOoc[i]) { SendClientMessage(i, color, string); } } } } public SendIRCMessage(channel, color, string[]) { for(new i = 0; i < MAX_PLAYERS; i++) { if(IsPlayerConnected(i)) { if(PlayersChannel[i] == channel) { SendClientMessage(i, color, string); } } } } public SendFamilyMessage(family, color, string[]) { for(new i = 0; i < MAX_PLAYERS; i++) { if(IsPlayerConnected(i)) { if(PlayerInfo[i][pMember] == family || PlayerInfo[i][pLeader] == family) { if(!gFam[i]) { SendClientMessage(i, color, string); } } } } } public PlayerPlayMusic(playerid) { if(IsPlayerConnected(playerid)) { SetTimer("StopMusic", 5000, 0); PlayerPlaySound(playerid, 1068, 0.0, 0.0, 0.0); } }
  13. Foarte frumos FS! 5/5!
  14. Foarte bun FS 5/5.
  15. Foloseste GarHouse dp www.sa-mp.com ->> Search
  16. 1. Compileaza gm-ul cu versiunea 0.3d 2. Daca folosesti streamer by Incognito updateazal la vers 2.6: http://code.google.com/p/samp-streamer-plugin/downloads/list ( Linkul il am de la ![]stuntman[]! )
  17. Vezi ca, cu acel sistem nu iti da bine coordonatele defapt ti le da bine dar de ex: 178.5897.14796.14587.4752.78471 -> sunt coordonate bune, dar cu aces sistem iti da asa: 178,5897.14796,14587.4752,78471 ti le da cu virgula in loc de punct, inlocuieste sa vezi daca o sa iti mearga.
  18. Buna , am luat dp net un MTA Map Editor v1.0 si cand dau Map Editor scrie Start local server... si sta asa. Ce pot sa fac?Multumesc anticipat.
  19. Mersi , puteti da topic close
  20. Eroare: C:\DOCUME~1\User\Desktop\LASTGA~1.3D\GAMEMO~1\fb.pwn(47403) : error 001: expected token: ")", but found "{" Comanda & Linie: if(strcmp(cmd, "/cabinet", true) == 0) // by Williams { if(PlayerInfo[playerid][pMember] == 5 || PlayerInfo[playerid][pLeader] == 5 || PlayerInfo[playerid][pMember] == 6 || PlayerInfo[playerid][pLeader] == 6 || PlayerInfo[playerid][pMember] == 12 || PlayerInfo[playerid][pLeader] == 12 || PlayerInfo[playerid][pMember] == 13 || PlayerInfo[playerid][pLeader] == 13) { if(PlayerToPoint(2.0, playerid, 1265.6984,-774.9542,1091.9063) || PlayerToPoint(2.0, playerid, 2451.2488,-1689.9900,1013.5078) || PlayerToPoint(2.0, playerid, 2817.0930,-1166.8081,1029.1719) || PlayerToPoint(2.0, playerid, 2341.7881,-1186.6757,1027.9766 || PlayerToPoint(2.0, playerid, 1378.5902,-1637.1937,13.5395)) [color=red][b]=>> LINIA[/b][/color] { ShowPlayerDialog(playerid, 8, DIALOG_STYLE_LIST, "Store Weapon Lists", "Health($500)\nExtra Health($1,000)\nKatana($1,000)\nDeagle($2,000)\nAk-47($3,700)\nM4($4,000)\nMP5($3,500)\nShot Gun($4,500)\nRifle($5,000)","Buy", "Cancel"); return 1; } } else { SendClientMessage(playerid, COLOR_WHITE,"You are not a family member"); return 1; } }
  21. Salut, cum pot face ca Gangzone sa fie transparent? Multumesc anticipat
  22. Buna , am vrut sa adaug cv masinile pentru un hotel sa le poata conduce doar chiriasii hotelului si faza e ca imi schimba id-urile masinilor de ex Police car zice ca e La Cosa Nostra sau invers. Imi puteti spune daca exista vreo solutie sa adaug masini fara sa se dea id-urile peste cap? Multumesc anticipat
  23. Salut am nevoie de putin ajutor , am schimbat serverul pe vers 0.3d si cand deschid o poarta se roteste si nu se mai inchide la loc sau daca se inchide se inchide intoarsa. Am compilat gm-ul cu pawno 0.3d si tot nu merge daca ma poate ajuta cnv va rog? Multumesc anticipat.
×
×
  • 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.