Jump to content

SiNuS

Membru
  • Posts

    206
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by SiNuS

  1. Sigur este sub OnPlayerCommandText ?
  2. Folositor 5/5 , la mai multe :P
  3. SiNuS

    -CRASHHHH-

    Daca ai SA modat nu o sa mearga
  4. Trebuie pus in Folderul cu San Andreas ,nu merge daca e pus pe Desktop sau. ... merge doar in Folderul cu San Andreas
  5. Pai eu ce ti-am dat mai acolo :| ? Include coptools.inc pentru sa il bagi in Pawno/Include
  6. 1 Titlul 2. http://forum.sa-mp.com/showthread.php?t=197305
  7. Asta inseamna ca s-a compilat ? nu ai .amx ? TITLUL !!
  8. In curand v2
  9. Trebuie sa ai versiunea 0.3d si sa bagi codul unde ai Mapa , sau sub OnPlayerConnect
  10. Folosesc Map Contruction http://forum.sa-mp.com/showthread.php?t=282801
  11. Stiu versiunea 2-a va avea mai putini brazi
  12. Ei bine , dupa cum vedeti , am facut si eu o mica mapa , nu sunt foarte priceput in maping , si aceasta mapa am facut-o pentru serverul meu, si am vrut sa vad care sunt calitatile mele de "maper" , nu fiti duri pentru ca nu m-am complicat sa iasa ceva foarte frumos si sunt la inceput [pawn]//Spawn Civili + Primarie CreateDynamicObject(19076,478.89000000,-1507.96000000,19.58000000,0.00000000,0.00000000,0.00000000); // CreateDynamicObject(19076,479.80000000,-1488.24000000,19.16000000,0.00000000,0.00000000,0.00000000); // CreateDynamicObject(19076,491.30000000,-1487.65000000,19.02000000,0.00000000,0.00000000,0.00000000); // CreateDynamicObject(19076,489.03000000,-1506.44000000,19.63000000,0.00000000,0.00000000,0.00000000); // CreateDynamicObject(19076,490.42000000,-1520.98000000,19.01000000,0.00000000,0.00000000,0.00000000); // CreateDynamicObject(19076,478.32000000,-1521.45000000,19.32000000,0.00000000,0.00000000,0.00000000); // CreateDynamicObject(19076,488.96000000,-1550.69000000,17.14000000,0.00000000,0.00000000,0.00000000); // CreateDynamicObject(19076,495.12000000,-1559.92000000,16.21000000,0.00000000,0.00000000,0.00000000); // CreateDynamicObject(19076,493.27000000,-1531.89000000,18.50000000,0.00000000,0.00000000,0.00000000); // CreateDynamicObject(19076,498.93000000,-1543.89000000,17.22000000,0.00000000,0.00000000,0.00000000); // CreateDynamicObject(19076,506.07000000,-1554.45000000,16.05000000,0.00000000,0.00000000,0.00000000); // CreateDynamicObject(19058,479.07000000,-1506.99000000,20.13000000,0.00000000,0.00000000,0.00000000); // CreateDynamicObject(19057,478.51000000,-1509.11000000,19.98000000,0.00000000,0.00000000,0.00000000); // CreateDynamicObject(19057,479.63000000,-1489.17000000,19.72000000,0.00000000,0.00000000,0.00000000); // CreateDynamicObject(19058,479.57000000,-1487.07000000,19.76000000,0.00000000,0.00000000,0.00000000); // CreateDynamicObject(19058,491.45000000,-1488.91000000,19.64000000,0.00000000,0.00000000,0.00000000); // CreateDynamicObject(19057,491.66000000,-1486.60000000,19.57000000,0.00000000,0.00000000,0.00000000); // CreateDynamicObject(19056,489.33000000,-1505.29000000,20.20000000,0.00000000,0.00000000,0.00000000); // CreateDynamicObject(19055,489.97000000,-1507.32000000,20.23000000,0.00000000,0.00000000,0.00000000); // CreateDynamicObject(19054,490.13000000,-1520.11000000,19.48000000,0.00000000,0.00000000,0.00000000); // CreateDynamicObject(19056,490.38000000,-1521.97000000,19.84000000,0.00000000,0.00000000,0.00000000); // CreateDynamicObject(19055,492.83000000,-1530.74000000,19.06000000,0.00000000,0.00000000,0.00000000); // CreateDynamicObject(19057,493.48000000,-1532.92000000,19.02000000,0.00000000,0.00000000,0.00000000); // CreateDynamicObject(19056,478.68000000,-1522.42000000,19.73000000,0.00000000,0.00000000,0.00000000); // CreateDynamicObject(19058,478.08000000,-1520.42000000,19.73000000,0.00000000,0.00000000,0.00000000); // CreateDynamicObject(19076,483.09000000,-1538.65000000,18.28000000,0.00000000,0.00000000,0.00000000); // CreateDynamicObject(19057,482.50000000,-1537.56000000,18.95000000,0.00000000,0.00000000,0.00000000); // CreateDynamicObject(19058,482.92000000,-1539.62000000,18.75000000,0.00000000,0.00000000,0.00000000); // //Banca CreateDynamicObject(19076, 1455.42, -1737.74, 12.54, 0.00, 0.00, 0.00); CreateDynamicObject(19076, 1505.04, -1737.64, 12.54, 0.00, 0.00, 0.00); CreateDynamicObject(19076, 1480.15, -1737.68, 12.54, 0.00, 0.00, 0.00); CreateDynamicObject(19076, 1467.37, -1737.75, 12.54, 0.00, 0.00, 0.00); CreateDynamicObject(19076, 1491.45, -1737.70, 12.54, 0.00, 0.00, 0.00); CreateDynamicObject(19076, 1521.33, -1726.59, 12.55, 0.00, 0.00, 0.00); CreateDynamicObject(19076, 1454.65, -1726.94, 12.55, 0.00, 0.00, 0.00); CreateDynamicObject(19076, 1466.89, -1726.98, 12.55, 0.00, 0.00, 0.00); CreateDynamicObject(19076, 1479.42, -1726.89, 12.55, 0.00, 0.00, 0.00); CreateDynamicObject(19076, 1489.98, -1726.98, 12.55, 0.00, 0.00, 0.00); CreateDynamicObject(19076, 1500.95, -1726.98, 12.55, 0.00, 0.00, 0.00); CreateDynamicObject(19076, 1511.21, -1726.92, 12.55, 0.00, 0.00, 0.00); CreateDynamicObject(19076, 1424.67, -1028.59, 22.66, 0.00, 0.00, 0.00); CreateDynamicObject(19076, 1488.83, -1028.31, 22.66, 0.00, 0.00, 0.00); CreateDynamicObject(19076, 1460.36, -1028.34, 22.66, 0.00, 0.00, 0.00); CreateDynamicObject(3038, 1492.81, -1021.93, 31.45, 0.00, 0.00, 90.54); CreateDynamicObject(3038, 1435.37, -1022.05, 31.45, 0.00, 0.00, 90.54); CreateDynamicObject(3038, 1441.90, -1021.85, 31.45, 0.00, 0.00, 90.54); CreateDynamicObject(3038, 1449.38, -1021.84, 31.45, 0.00, 0.00, 90.54); CreateDynamicObject(3038, 1455.49, -1020.63, 31.45, 0.00, 0.00, 90.54); CreateDynamicObject(3038, 1463.41, -1020.56, 31.45, 0.00, 0.00, 90.54); CreateDynamicObject(3038, 1470.51, -1020.51, 31.45, 0.00, 0.00, 90.54); CreateDynamicObject(3038, 1476.30, -1022.00, 31.45, 0.00, 0.00, 90.54); CreateDynamicObject(3038, 1484.54, -1021.86, 31.45, 0.00, 0.00, 90.54);[/pawn] Cateva poze: http://img818.imageshack.us/slideshow/webplayer.php?id=samp089xs.png
  13. SiNuS

    Ajutor /newbie

    la inceput [pawn]forward SendNewbieMessage(color, string[]); forward Newbie(playerid);[/pawn] Sub OnPlayerCommandText [pawn] if(strcmp(cmd, "/newbie", true) == 0 || strcmp(cmd, "/n", true) == 0) { if(IsPlayerConnected(playerid)) { if(PlayerInfo[playerid][pMuted] == 1) { SendClientMessage(playerid, TEAM_CYAN_COLOR, "Ai mute si nu poti vorbi!"); return 1; } if(nonewbie == 1) { SendClientMessage(playerid, TEAM_CYAN_COLOR, "Chatul NewBie este inchis momentan."); return 1; } GetPlayerName(playerid, sendername, sizeof(sendername)); new length = strlen(cmdtext); while ((idx < length) && (cmdtext[idx] <= ' ')) { idx++; } new offset = idx; new result[64]; while ((idx < length) && ((idx - offset) < (sizeof(result) - 1))) { result[idx - offset] = cmdtext[idx]; idx++; } new newbie = PlayerInfo[playerid][pLevel]; result[idx - offset] = EOS; if(!strlen(result)) { SendClientMessage(playerid, COLOR_LIGHTGREEN, "Tasteaza: (/n)ewbie [Text]"); return 1; } else if(newbie==1) { format(string, sizeof(string), "[DG] {B7FF00}Incepator Nivel 1 {FFF1AF}%s:{F3FF02} %s.", sendername, result); } else if(newbie==2) { format(string, sizeof(string), "[DG] {B7FF00}Incepator Nivel 2 {FFF1AF}%s: {F3FF02}%s.", sendername, result); } else if(newbie==3) { format(string, sizeof(string), "[DG] {B7FF00}Incepator Nivel 3 {FFF1AF}%s: {F3FF02}%s.", sendername, result); } else if(PlayerInfo[playerid][pHelper] == 1) { format(string, sizeof(string), "[DG] {FFAF00}Ajutator Nivel 1 {00C0FF}%s: {FFF1AF}%s.", sendername, result); } else if(PlayerInfo[playerid][pHelper] == 2) { format(string, sizeof(string), "[DG] {FFAF00}Ajutator Nivel 2 {00C0FF}%s: {FFF1AF}%s.", sendername, result); } else if(PlayerInfo[playerid][pHelper] == 3) { format(string, sizeof(string), "[DG] {FFAF00}Ajutator Nivel 3 {00C0FF}%s: {FFF1AF}%s.", sendername, result); } else if(PlayerInfo[playerid][pHelper] == 4) { format(string, sizeof(string), "[DG] {FFAF00}Ajutator Nivel 4 {00C0FF}%s: {FFF1AF}%s.", sendername, result); } else if(PlayerInfo[playerid][pAdmin] == 1) { format(string, sizeof(string), "{FFFFFF}[DG] {FFAF00}Demo Admin {0049FF}%s: {FFFFFF}%s.", sendername, result); } else if(PlayerInfo[playerid][pAdmin] == 2) { format(string, sizeof(string), "{FFFFFF}[DG] {FFAF00}Advanced Admin {0049FF}%s: {FFFFFF}%s.", sendername, result); } else if(PlayerInfo[playerid][pAdmin] == 3) { format(string, sizeof(string), "{FFFFFF}[DG] {FFAF00}V.I.P Admin {0049FF}%s: {FFFFFF}%s.", sendername, result); } else if(PlayerInfo[playerid][pAdmin] == 4) { format(string, sizeof(string), "{FFFFFF}[DG] {FFAF00}eXtRa Admin {0049FF}%s: {FFFFFF}%s.", sendername, result); } else if(PlayerInfo[playerid][pAdmin] == 1337) { format(string, sizeof(string), "{FFFFFF}[DG] {FFAF00}GoD {0049FF}%s: {FFFFFF}%s.", sendername, result); } else if(PlayerInfo[playerid][pAdmin] == 1338) { format(string, sizeof(string), "{FFFFFF}[DG] {FFAF00}Co-OwNeR {0049FF}%s: {FFFFFF}%s.", sendername, result); } else if(PlayerInfo[playerid][pAdmin] == 1339) { format(string, sizeof(string), "{FFFFFF}[DG] {FFAF00}OwNeR {0049FF}%s: {FFFFFF}%s.", sendername, result); } if (PlayerInfo[playerid][pLevel] >= 1 || PlayerInfo[playerid][pLevel] <= 3 || PlayerInfo[playerid][pAdmin] >= 1 || PlayerInfo[playerid][pHelper] >= 1) { if(nTime[playerid] == 1) return SendClientMessage(playerid, COLOR_GRAD2, "[DG]: {00FFEE}Poti Trimite un Mesaj la fiecare {0049FF}10 {00FFEE}secunde!"); nTime[playerid] = 1; SetTimerEx("Newbie", 10000, 0, "%d", playerid); SendNewbieMessage(COLOR_LIGHTGREEN, string); printf("Newbie %s: %s", sendername, result); } else { SendClientMessage(playerid, COLOR_GRAD1, "*** {00FFEE}Nu mai esti newbie, foloseste {FFFFFF}/report {00FFEE}sau /{FFFFFF}needhelp ***"); } } return 1; }[/pawn] La sfarsitul Gm-ului [pawn]public Newbie(playerid) { nTime[playerid] = 0; }[/pawn] Sub SendHelperMessage [pawn]public SendNewbieMessage(color, string[]) { for(new i = 0; i < MAX_PLAYERS; i++) { if(IsPlayerConnected(i)) { if(PlayerInfo[pLevel] <=3 || PlayerInfo[pAdmin] >= 1 || PlayerInfo[pHelper] >= 1) { SendClientMessage(i, color, string); } } } }[/pawn] Daca ai probleme lasa reply
  14. [pawn] if (strcmp(cmd, "/santa", true) == 0) { SetPlayerAttachedObject(playerid, 3, 19065, 2, 0.120000, 0.040000, -0.003500, 0, 100, 100, 1.4, 1.4, 1.4); return SendClientMessage(playerid, 0x00FF00FF, "Ti-ai pus Santa pe cap , Sarbatori Fericite"); }[/pawn]
  15. Cerere Script
  16. Simplu 2/5
  17. Ce MTA Folosesti?
  18. Pune un titlu adecvat :)
  19. Mai ai nevoie de ajutor sau .. ?
  20. SiNuS

    help

    @Intrii in GameMode cu Pawno si cauti posibilele comenzi ascunse, daca nu le ai in GameMode , intri in folderul FilterScripts si cauti in Scripturile de acolo orice comanda ascunsa
  21. Sigur le-ai bagat sub OnPlayerCommandText
  22. SiNuS

    help

    1. Posibil ca el sa stie RCON-ul (Modifica-l din server.cfg) 2. Posibil ai tu o comanda in GM sau Fs-uri (Cauta Comenzile si sterge-le) ....
  23. undefined symbol "strtok" si "x_nr" : [pawn]strtok(const string[], &index) { new length = strlen(string); while ((index < length) && (string[index] <= ' ')) { index++; } new offset = index; new result[20]; while ((index < length) && (string[index] > ' ') && ((index - offset) < (sizeof(result) - 1))) { result[index - offset] = string[index]; index++; } result[index - offset] = EOS; return result; }[/pawn]
  24. Ce comanda ai bagat tu pentru mapa ?
  25. 1. Dai admin direct din joc 2. Vorbeste cu cei de la host
×
×
  • 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.