Jump to content

Walentin.

Membru
  • Posts

    15
  • Joined

  • Last visited

    Never

Walentin.'s Achievements

Apprentice

Apprentice (3/14)

  • First Post
  • Collaborator
  • Conversation Starter
  • Week One Done
  • One Month Later

Recent Badges

0

Reputation

  1. Da, dar in caz ca nu ati observat, eu am sters ceva nu am adaugat ! Asta imi da Error: No objects found The script you wanted to convert does not contain any objects or the format is not supported.
  2. Am incercat cu toate versiunile alea de acolo dar nu se compileaza..imi da eroare si la convertffs.com la fel :|
  3. Salut, am intrat si eu in MTA si am sters niste lucruri din mapa, bun, am salvat dar nu stiu unde se poate converta astea, sau nu trebuie? Va rog ajutati`ma:D [pawn] <removeWorldObject id="removeWorldObject (lamppost3) (1)" radius="6.6149272918701" interior="0" model="1226" lodModel="0" posX="1523.86926" posY="-1705.26587" posZ="13.86454" rotX="0" rotY="0" rotZ="0"></removeWorldObject> <removeWorldObject id="removeWorldObject (lamppost3) (2)" radius="6.6149272918701" interior="0" model="1226" lodModel="0" posX="1523.92725" posY="-1688.36267" posZ="13.41847" rotX="0" rotY="0" rotZ="0"></removeWorldObject> <removeWorldObject id="removeWorldObject (lamppost3) (3)" radius="6.6149272918701" interior="0" model="1226" lodModel="0" posX="1526.24854" posY="-1668.5509" posZ="19.88951" rotX="0" rotY="0" rotZ="0"></removeWorldObject> <removeWorldObject id="removeWorldObject (lamppost3) (4)" radius="6.6149272918701" interior="0" model="1226" lodModel="0" posX="1523.86926" posY="-1668.34912" posZ="14.26083" rotX="0" rotY="0" rotZ="0"></removeWorldObject> <removeWorldObject id="removeWorldObject (lamppost3) (5)" radius="6.6149272918701" interior="0" model="1226" lodModel="0" posX="1523.8623" posY="-1668.40308" posZ="13.72149" rotX="0" rotY="0" rotZ="0"></removeWorldObject> <removeWorldObject id="removeWorldObject (lamppost3) (6)" radius="6.6149272918701" interior="0" model="1226" lodModel="0" posX="1523.86926" posY="-1668.38684" posZ="14.282" rotX="0" rotY="0" rotZ="0"></removeWorldObject> <removeWorldObject id="removeWorldObject (lamppost3) (7)" radius="6.6149272918701" interior="0" model="1226" lodModel="0" posX="1523.86572" posY="-1647.96558" posZ="15.36034" rotX="0" rotY="0" rotZ="0"></removeWorldObject> <removeWorldObject id="removeWorldObject (lamppost3) (8)" radius="6.6149272918701" interior="0" model="1226" lodModel="0" posX="1523.86926" posY="-1622.24622" posZ="15.7929" rotX="0" rotY="0" rotZ="0"></removeWorldObject> <removeWorldObject id="removeWorldObject (lamppost3) (9)" radius="6.6149272918701" interior="0" model="1226" lodModel="0" posX="1524.42395" posY="-1611.47339" posZ="14.94151" rotX="0" rotY="0" rotZ="0"></removeWorldObject> <removeWorldObject id="removeWorldObject (MTraffic1) (1)" radius="11.085760116577" interior="0" model="1283" lodModel="0" posX="1524.24988" posY="-1606.16248" posZ="14.12881" rotX="0" rotY="0" rotZ="0"></removeWorldObject> <removeWorldObject id="removeWorldObject (MTraffic1) (2)" radius="11.085760116577" interior="0" model="1283" lodModel="0" posX="1524.45813" posY="-1606.36267" posZ="18.35741" rotX="0" rotY="0" rotZ="0"></removeWorldObject> <removeWorldObject id="removeWorldObject (BillBd3) (1)" radius="18.336557388306" interior="0" model="1260" lodModel="1266" posX="1538.52344" posY="-1609.80469" posZ="19.84375" rotX="0" rotY="0" rotZ="0"></removeWorldObject> <removeWorldObject id="removeWorldObject (billbrdlan_08) (1)" radius="119.0662612915" interior="0" model="4230" lodModel="4229" posX="1597.90625" posY="-1699.75" posZ="30.21094" rotX="0" rotY="0" rotZ="0"></removeWorldObject>[/pawn]
  4. Tot nu merge maneee, nu stiu ce sa ii mai fac:(( Ma, sa fie problema ca GM`ul nu a mai avut niciun ceas bagat in GAMEMODE? :-?
  5. Scuza`ma, sunt [censured by the system] recunosc:)) O sa incerc asa si o sa revin cu un edit in 5 minute:D Mda, avea include`ul "timer", nu inteleg de la ce dreacu nu arata ceasul :@
  6. Include`ul se numeste cumva timerfix?
  7. Salut SA-MP.ro, am vrut sa bag si eu un FS ceas si nu merge, nu apare pe server, l`am bagat si in filterscripts si in server.cfg, dar nu doar acesta nu merge, am incercat mai multe fs`uri dar niciunul nu a mers, va rog sa imi spuneti ce are..Va multumesc ! EDIT: Am uitat sa va pun scriptul [pawn]#include <a_samp> #include <time> #define FILTERSCRIPT forward settime(playerid); new Text:Time2, Text:Date; public settime(playerid) { new string[256],year,month,day,hours,minutes,seconds; getdate(year, month, day), gettime(hours, minutes, seconds); format(string, sizeof string, "~r~%d/~y~%s%d/~b~%s%d", day, ((month < 10) ? ("0") : ("")), month, (year < 10) ? ("0") : (""), year); TextDrawSetString(Date, string); format(string, sizeof string, "~r~%s%d:~y~%s%d:~b~%s%d", (hours < 10) ? ("0") : (""), hours, (minutes < 10) ? ("0") : (""), minutes, (seconds < 10) ? ("0") : (""), seconds); TextDrawSetString(Time2, string); } public OnPlayerSpawn(playerid) { TextDrawShowForPlayer(playerid, Time2); TextDrawShowForPlayer(playerid, Date); return 1; } public OnGameModeInit() { SetTimer("settime",1000,true); Date = TextDrawCreate(547.000000,11.000000,"--"); TextDrawFont(Date,3); TextDrawLetterSize(Date,0.399999,1.600000); TextDrawColor(Date,0xffffffff); Time2 = TextDrawCreate(547.000000,28.000000,"--"); TextDrawFont(Time2,3); TextDrawLetterSize(Time2,0.399999,1.600000); TextDrawColor(Time2,0xffffffff); SetTimer("settime",1000,true); return 1; } [/pawn]
  8. Nu , degeaba te complici cu mine ca nu inteleg nimic...nu pot sa intri la mine in PC cu tw si sa ma ajuti ? Te rog?
  9. Ma ajuta cineva si pe mine?Darky iti dau tie scriptul sa mi`l faci tu cu tot ce trebuie?Te rog eu mult de tot...ma chinui de 1 saptamana sa gasesc un System GangWar pe aliante..:(
  10. Uite si toate liniile , ma dar mai am o intrebare unde trebuia sa bag acel vtimer la inceputul scriptului GangWar sau la inceputul scriptingului?? [pawn]if(strcmp(cmd, "/startwar", true) == 0) { if(IsPlayerConnected(playerid)) { if(wtimer[playerid] < 1) { } else { SendClientMessage(playerid, COLOR_GREY, "Trebuie sa astepti 12 ore la fiecare war!"); return 1; } if(PlayerInfo[playerid][pLeader] == 14 || PlayerInfo[playerid][pLeader] == 6 || PlayerInfo[playerid][pLeader] == 12) { provoked = 1; new x_nr[256]; x_nr = strtok(cmdtext, idx); if(!strlen(x_nr)) { SendClientMessage(playerid, COLOR_WHITE, "Tasteaza: /startwar list , /startwar [locul]"); return 1; } if(strcmp(x_nr,"list",true) == 0) { SendClientMessage(playerid, COLOR_YELLOW, "_________Lista Locuri_________"); SendClientMessage(playerid, COLOR_GRAD1, "1:GS/LS 2: BS/LS 3: Madd Dog House 4: Banca"); return 1; } else if(strcmp(x_nr,"1",true) == 0) { SendClientMessageToAll(COLOR_GREEN, "{00FA9A}[WAR]: {8B5A2B}Triads-{DBDB70}LSV{D3D3D3}-{66CD00}Grove {00FA9A}au declarat WAR , zona: {FFFFFF}GS/LS"); return 1; } else if(strcmp(x_nr,"2",true) == 0) { SendClientMessageToAll(COLOR_GREEN, "{00FA9A}[WAR]: {8B5A2B}Triads-{DBDB70}LSV{D3D3D3}-{66CD00}Grove {00FA9A}au declarat WAR , zona: {FFFFFF}BS/LS"); return 1; } else if(strcmp(x_nr,"3",true) == 0) { SendClientMessageToAll(COLOR_GREEN, "{00FA9A}[WAR]: {8B5A2B}Triads-{DBDB70}LSV{D3D3D3}-{66CD00}Grove {00FA9A}au declarat WAR , zona: {FFFFFF}Madd Dog House"); return 1; } else if(strcmp(x_nr,"4",true) == 0) { SendClientMessageToAll(COLOR_GREEN, "{00FA9A}[WAR]: {8B5A2B}Triads-{DBDB70}LSV{D3D3D3}-{66CD00}Grove {00FA9A}au declarat WAR , zona: {FFFFFF}Banca"); return 1; } } else if(PlayerInfo[playerid][pLeader] == 5 || PlayerInfo[playerid][pLeader] == 17 || PlayerInfo[playerid][pLeader] == 16) { provoked = 1; new x_nr[256]; x_nr = strtok(cmdtext, idx); if(!strlen(x_nr)) { SendClientMessage(playerid, COLOR_WHITE, "Tasteaza: /startwar list , /startwar [locul]"); return 1; } if(strcmp(x_nr,"list",true) == 0) { SendClientMessage(playerid, COLOR_YELLOW, "_________Lista Locuri_________"); SendClientMessage(playerid, COLOR_GRAD1, "1: GS/LS 2: BS/LS 3: Madd Dog House 4: Banca"); return 1; } else if(strcmp(x_nr,"1",true) == 0) { SendClientMessageToAll(COLOR_GREEN, "{00FA9A}[WAR]: {EE2C2C}Mafia{D3D3D3}-{97FFFF}VLA{D3D3D3}-{CD3278}Ballas {00FA9A}au declarat WAR , zona: {FFFFFF}GS/LS"); return 1; } else if(strcmp(x_nr,"2",true) == 0) { SendClientMessageToAll(COLOR_GREEN, "{00FA9A}[WAR]: {EE2C2C}Mafia{D3D3D3}-{97FFFF}VLA{D3D3D3}-{CD3278}Ballas {00FA9A}au declarat WAR , zona: {FFFFFF}BS/LS"); return 1; } else if(strcmp(x_nr,"3",true) == 0) { SendClientMessageToAll(COLOR_GREEN, "{00FA9A}[WAR]: {EE2C2C}Mafia{D3D3D3}-{97FFFF}VLA{D3D3D3}-{CD3278}Ballas {00FA9A}au declarat WAR , zona: {FFFFFF}Madd Dog House"); return 1; } else if(strcmp(x_nr,"4",true) == 0) { SendClientMessageToAll(COLOR_GREEN, "{00FA9A}[WAR]: {EE2C2C}Mafia{D3D3D3}-{97FFFF}VLA{D3D3D3}-{CD3278}Ballas {00FA9A}au declarat WAR , zona: {FFFFFF}Banca"); return 1; } } else { SendClientMessage(playerid, COLOR_GRAD2, "You are not a gang / mafia leader!"); return 1; } wtimer[playerid] = 3000000; } return 1; } if(strcmp(cmd, "/acceptwar", true) == 0) { if(IsPlayerConnected(playerid)) { if (provoked == 1) { if (PlayerInfo[playerid][pLeader] == 12 || PlayerInfo[playerid][pLeader] == 14 || PlayerInfo[playerid][pLeader] == 6 || PlayerInfo[playerid][pLeader] == 13 || PlayerInfo[playerid][pLeader] == 15 || PlayerInfo[playerid][pLeader] == 5) { new hour,minuite; gettime(hour,minuite); FixHour(hour); scoreteam1 = 0; scoreteam2 = 0; SetTimer("wartime", 1800000, false); SendClientMessageToAll(COLOR_WHITE, "{6EF83C}|____War Started____|"); format(string, sizeof(string), "{006633}Grove Street - {CC9933}Los Santos Vagos - {663300}The Triads vS {660099}Ballas - {99FFFF}Varrios Los Aztecas - {990033}The Mafia"); SendClientMessageToAll(COLOR_WHITE,string); SendClientMessageToAll(COLOR_WHITE, "Premiul: {F81414}50.000 {33AA33}$ {F81414}5000 {33AA33}Mats {F81414}200 {33AA33}Drugs"); format(string, sizeof(string), "War inceput la ora: {F81414}%d: %d", hour, minuite); SendClientMessageToAll(COLOR_WHITE,string); SendClientMessageToAll(COLOR_WHITE, "Va rugam evitati acea zona!"); SendClientMessageToAll(COLOR_WHITE, "{6EF83C}|____War Started____|"); provoked = 0; } } else { SendClientMessage(playerid, COLOR_GREY, "You are not a Leader or a gang/mafia Leader."); } } return 1; }[/pawn]
  11. Uite alte erori :| [pawn]C:\Documents and Settings\VALENTIN\Desktop\Galaxy Omega\Galaxy Omega\gamemodes\GOGF.pwn(10514) : warning 219: local variable "mod" shadows a variable at a preceding level C:\Documents and Settings\VALENTIN\Desktop\Galaxy Omega\Galaxy Omega\gamemodes\GOGF.pwn(32406) : warning 217: loose indentation C:\Documents and Settings\VALENTIN\Desktop\Galaxy Omega\Galaxy Omega\gamemodes\GOGF.pwn(32414) : error 017: undefined symbol "COLOR_GREY" C:\Documents and Settings\VALENTIN\Desktop\Galaxy Omega\Galaxy Omega\gamemodes\GOGF.pwn(32417) : error 017: undefined symbol "PlayerInfo" C:\Documents and Settings\VALENTIN\Desktop\Galaxy Omega\Galaxy Omega\gamemodes\GOGF.pwn (32417) : warning 215: expression has no effect C:\Documents and Settings\VALENTIN\Desktop\Galaxy Omega\Galaxy Omega\gamemodes\GOGF.pwn(32417) : error 001: expected token: ";", but found "]" C:\Documents and Settings\VALENTIN\Desktop\Galaxy Omega\Galaxy Omega\gamemodes\GOGF.pwn(32417) : error 029: invalid expression, assumed zero C:\Documents and Settings\VALENTIN\Desktop\Galaxy Omega\Galaxy Omega\gamemodes\GOGF.pwn(32417) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase [/pawn] Uite si toate liniile , ma dar mai am o intrebare unde trebuia sa bag acel vtimer la inceputul scriptului GangWar sau la inceputul scriptingului?? [pawn]if(strcmp(cmd, "/startwar", true) == 0) { if(IsPlayerConnected(playerid)) { if(wtimer[playerid] < 1) { } else { SendClientMessage(playerid, COLOR_GREY, "Trebuie sa astepti 12 ore la fiecare war!"); return 1; } if(PlayerInfo[playerid][pLeader] == 14 || PlayerInfo[playerid][pLeader] == 6 || PlayerInfo[playerid][pLeader] == 12) { provoked = 1; new x_nr[256]; x_nr = strtok(cmdtext, idx); if(!strlen(x_nr)) { SendClientMessage(playerid, COLOR_WHITE, "Tasteaza: /startwar list , /startwar [locul]"); return 1; } if(strcmp(x_nr,"list",true) == 0) { SendClientMessage(playerid, COLOR_YELLOW, "_________Lista Locuri_________"); SendClientMessage(playerid, COLOR_GRAD1, "1:GS/LS 2: BS/LS 3: Madd Dog House 4: Banca"); return 1; } else if(strcmp(x_nr,"1",true) == 0) { SendClientMessageToAll(COLOR_GREEN, "{00FA9A}[WAR]: {8B5A2B}Triads-{DBDB70}LSV{D3D3D3}-{66CD00}Grove {00FA9A}au declarat WAR , zona: {FFFFFF}GS/LS"); return 1; } else if(strcmp(x_nr,"2",true) == 0) { SendClientMessageToAll(COLOR_GREEN, "{00FA9A}[WAR]: {8B5A2B}Triads-{DBDB70}LSV{D3D3D3}-{66CD00}Grove {00FA9A}au declarat WAR , zona: {FFFFFF}BS/LS"); return 1; } else if(strcmp(x_nr,"3",true) == 0) { SendClientMessageToAll(COLOR_GREEN, "{00FA9A}[WAR]: {8B5A2B}Triads-{DBDB70}LSV{D3D3D3}-{66CD00}Grove {00FA9A}au declarat WAR , zona: {FFFFFF}Madd Dog House"); return 1; } else if(strcmp(x_nr,"4",true) == 0) { SendClientMessageToAll(COLOR_GREEN, "{00FA9A}[WAR]: {8B5A2B}Triads-{DBDB70}LSV{D3D3D3}-{66CD00}Grove {00FA9A}au declarat WAR , zona: {FFFFFF}Banca"); return 1; } } else if(PlayerInfo[playerid][pLeader] == 5 || PlayerInfo[playerid][pLeader] == 17 || PlayerInfo[playerid][pLeader] == 16) { provoked = 1; new x_nr[256]; x_nr = strtok(cmdtext, idx); if(!strlen(x_nr)) { SendClientMessage(playerid, COLOR_WHITE, "Tasteaza: /startwar list , /startwar [locul]"); return 1; } if(strcmp(x_nr,"list",true) == 0) { SendClientMessage(playerid, COLOR_YELLOW, "_________Lista Locuri_________"); SendClientMessage(playerid, COLOR_GRAD1, "1: GS/LS 2: BS/LS 3: Madd Dog House 4: Banca"); return 1; } else if(strcmp(x_nr,"1",true) == 0) { SendClientMessageToAll(COLOR_GREEN, "{00FA9A}[WAR]: {EE2C2C}Mafia{D3D3D3}-{97FFFF}VLA{D3D3D3}-{CD3278}Ballas {00FA9A}au declarat WAR , zona: {FFFFFF}GS/LS"); return 1; } else if(strcmp(x_nr,"2",true) == 0) { SendClientMessageToAll(COLOR_GREEN, "{00FA9A}[WAR]: {EE2C2C}Mafia{D3D3D3}-{97FFFF}VLA{D3D3D3}-{CD3278}Ballas {00FA9A}au declarat WAR , zona: {FFFFFF}BS/LS"); return 1; } else if(strcmp(x_nr,"3",true) == 0) { SendClientMessageToAll(COLOR_GREEN, "{00FA9A}[WAR]: {EE2C2C}Mafia{D3D3D3}-{97FFFF}VLA{D3D3D3}-{CD3278}Ballas {00FA9A}au declarat WAR , zona: {FFFFFF}Madd Dog House"); return 1; } else if(strcmp(x_nr,"4",true) == 0) { SendClientMessageToAll(COLOR_GREEN, "{00FA9A}[WAR]: {EE2C2C}Mafia{D3D3D3}-{97FFFF}VLA{D3D3D3}-{CD3278}Ballas {00FA9A}au declarat WAR , zona: {FFFFFF}Banca"); return 1; } } else { SendClientMessage(playerid, COLOR_GRAD2, "You are not a gang / mafia leader!"); return 1; } wtimer[playerid] = 3000000; } return 1; } if(strcmp(cmd, "/acceptwar", true) == 0) { if(IsPlayerConnected(playerid)) { if (provoked == 1) { if (PlayerInfo[playerid][pLeader] == 12 || PlayerInfo[playerid][pLeader] == 14 || PlayerInfo[playerid][pLeader] == 6 || PlayerInfo[playerid][pLeader] == 13 || PlayerInfo[playerid][pLeader] == 15 || PlayerInfo[playerid][pLeader] == 5) { new hour,minuite; gettime(hour,minuite); FixHour(hour); scoreteam1 = 0; scoreteam2 = 0; SetTimer("wartime", 1800000, false); SendClientMessageToAll(COLOR_WHITE, "{6EF83C}|____War Started____|"); format(string, sizeof(string), "{006633}Grove Street - {CC9933}Los Santos Vagos - {663300}The Triads vS {660099}Ballas - {99FFFF}Varrios Los Aztecas - {990033}The Mafia"); SendClientMessageToAll(COLOR_WHITE,string); SendClientMessageToAll(COLOR_WHITE, "Premiul: {F81414}50.000 {33AA33}$ {F81414}5000 {33AA33}Mats {F81414}200 {33AA33}Drugs"); format(string, sizeof(string), "War inceput la ora: {F81414}%d: %d", hour, minuite); SendClientMessageToAll(COLOR_WHITE,string); SendClientMessageToAll(COLOR_WHITE, "Va rugam evitati acea zona!"); SendClientMessageToAll(COLOR_WHITE, "{6EF83C}|____War Started____|"); provoked = 0; } } else { SendClientMessage(playerid, COLOR_GREY, "You are not a Leader or a gang/mafia Leader."); } } return 1; }[/pawn]
  12. Stai umpic , nu am inteles ce sa fac cu ala??!! Stiu ca poate ma injurati dar nu sunt priceput in Scripting:) Deci ziceti`mi exact ce sa fac cu ala!
  13. [pawn]C:\Documents and Settings\VALENTIN\Desktop\Galaxy Omega\Galaxy Omega\gamemodes\GOGF.pwn(10513) : warning 219: local variable "mod" shadows a variable at a preceding level C:\Documents and Settings\VALENTIN\Desktop\Galaxy Omega\Galaxy Omega\gamemodes\GOGF.pwn(32405) : warning 217: loose indentation C:\Documents and Settings\VALENTIN\Desktop\Galaxy Omega\Galaxy Omega\gamemodes\GOGF.pwn(32409) : error 017: undefined symbol "wtimer" C:\Documents and Settings\VALENTIN\Desktop\Galaxy Omega\Galaxy Omega\gamemodes\GOGF.pwn(32409) : warning 215: expression has no effect C:\Documents and Settings\VALENTIN\Desktop\Galaxy Omega\Galaxy Omega\gamemodes\GOGF.pwn(32409) : error 001: expected token: ";", but found "]" C:\Documents and Settings\VALENTIN\Desktop\Galaxy Omega\Galaxy Omega\gamemodes\GOGF.pwn(32409) : error 029: invalid expression, assumed zero C:\Documents and Settings\VALENTIN\Desktop\Galaxy Omega\Galaxy Omega\gamemodes\GOGF.pwn(32409) : fatal error 107: too many error messages on one line[/pawn]
  14. Salut...deci am luat un script GangWar dupa un gamemode numit : Cruciatii , bun pana acu a mers bine , dar s`a ivit o problema cand sa il pun , am dat find , am cautat OnPlayerCommandText si am pus acest script , dar mi`au aparut o groaza de probleme....va rog sa ma ajutati sa vedeti ce nu e bine la acest script cat mai repede va rog!!! //========================[System War by iSnake]====================================================== if(strcmp(cmd, "/startwar", true) == 0) { if(IsPlayerConnected(playerid)) { if(wtimer[playerid] < 1) { } else { SendClientMessage(playerid, COLOR_GREY, "Trebuie sa astepti 12 ore la fiecare war!"); return 1; } if(PlayerInfo[playerid][pLeader] == 14 || PlayerInfo[playerid][pLeader] == 6 || PlayerInfo[playerid][pLeader] == 12) { provoked = 1; new x_nr[256]; x_nr = strtok(cmdtext, idx); if(!strlen(x_nr)) { SendClientMessage(playerid, COLOR_WHITE, "Tasteaza: /startwar list , /startwar [locul]"); return 1; } if(strcmp(x_nr,"list",true) == 0) { SendClientMessage(playerid, COLOR_YELLOW, "_________Lista Locuri_________"); SendClientMessage(playerid, COLOR_GRAD1, "1:GS/LS 2: BS/LS 3: Madd Dog House 4: Banca"); return 1; } else if(strcmp(x_nr,"1",true) == 0) { SendClientMessageToAll(COLOR_GREEN, "{00FA9A}[WAR]: {8B5A2B}Triads-{DBDB70}LSV{D3D3D3}-{66CD00}Grove {00FA9A}au declarat WAR , zona: {FFFFFF}GS/LS"); return 1; } else if(strcmp(x_nr,"2",true) == 0) { SendClientMessageToAll(COLOR_GREEN, "{00FA9A}[WAR]: {8B5A2B}Triads-{DBDB70}LSV{D3D3D3}-{66CD00}Grove {00FA9A}au declarat WAR , zona: {FFFFFF}BS/LS"); return 1; } else if(strcmp(x_nr,"3",true) == 0) { SendClientMessageToAll(COLOR_GREEN, "{00FA9A}[WAR]: {8B5A2B}Triads-{DBDB70}LSV{D3D3D3}-{66CD00}Grove {00FA9A}au declarat WAR , zona: {FFFFFF}Madd Dog House"); return 1; } else if(strcmp(x_nr,"4",true) == 0) { SendClientMessageToAll(COLOR_GREEN, "{00FA9A}[WAR]: {8B5A2B}Triads-{DBDB70}LSV{D3D3D3}-{66CD00}Grove {00FA9A}au declarat WAR , zona: {FFFFFF}Banca"); return 1; } } else if(PlayerInfo[playerid][pLeader] == 5 || PlayerInfo[playerid][pLeader] == 17 || PlayerInfo[playerid][pLeader] == 16) { provoked = 1; new x_nr[256]; x_nr = strtok(cmdtext, idx); if(!strlen(x_nr)) { SendClientMessage(playerid, COLOR_WHITE, "Tasteaza: /startwar list , /startwar [locul]"); return 1; } if(strcmp(x_nr,"list",true) == 0) { SendClientMessage(playerid, COLOR_YELLOW, "_________Lista Locuri_________"); SendClientMessage(playerid, COLOR_GRAD1, "1: GS/LS 2: BS/LS 3: Madd Dog House 4: Banca"); return 1; } else if(strcmp(x_nr,"1",true) == 0) { SendClientMessageToAll(COLOR_GREEN, "{00FA9A}[WAR]: {EE2C2C}Mafia{D3D3D3}-{97FFFF}VLA{D3D3D3}-{CD3278}Ballas {00FA9A}au declarat WAR , zona: {FFFFFF}GS/LS"); return 1; } else if(strcmp(x_nr,"2",true) == 0) { SendClientMessageToAll(COLOR_GREEN, "{00FA9A}[WAR]: {EE2C2C}Mafia{D3D3D3}-{97FFFF}VLA{D3D3D3}-{CD3278}Ballas {00FA9A}au declarat WAR , zona: {FFFFFF}BS/LS"); return 1; } else if(strcmp(x_nr,"3",true) == 0) { SendClientMessageToAll(COLOR_GREEN, "{00FA9A}[WAR]: {EE2C2C}Mafia{D3D3D3}-{97FFFF}VLA{D3D3D3}-{CD3278}Ballas {00FA9A}au declarat WAR , zona: {FFFFFF}Madd Dog House"); return 1; } else if(strcmp(x_nr,"4",true) == 0) { SendClientMessageToAll(COLOR_GREEN, "{00FA9A}[WAR]: {EE2C2C}Mafia{D3D3D3}-{97FFFF}VLA{D3D3D3}-{CD3278}Ballas {00FA9A}au declarat WAR , zona: {FFFFFF}Banca"); return 1; } } else { SendClientMessage(playerid, COLOR_GRAD2, "You are not a gang / mafia leader!"); return 1; } wtimer[playerid] = 3000000; } return 1; } if(strcmp(cmd, "/acceptwar", true) == 0) { if(IsPlayerConnected(playerid)) { if (provoked == 1) { if (PlayerInfo[playerid][pLeader] == 12 || PlayerInfo[playerid][pLeader] == 14 || PlayerInfo[playerid][pLeader] == 6 || PlayerInfo[playerid][pLeader] == 13 || PlayerInfo[playerid][pLeader] == 15 || PlayerInfo[playerid][pLeader] == 5) { new hour,minuite; gettime(hour,minuite); FixHour(hour); scoreteam1 = 0; scoreteam2 = 0; SetTimer("wartime", 1800000, false); SendClientMessageToAll(COLOR_WHITE, "{6EF83C}|____War Started____|"); format(string, sizeof(string), "{006633}Grove Street - {CC9933}Los Santos Vagos - {663300}The Triads vS {660099}Ballas - {99FFFF}Varrios Los Aztecas - {990033}The Mafia"); SendClientMessageToAll(COLOR_WHITE,string); SendClientMessageToAll(COLOR_WHITE, "Premiul: {F81414}50.000 {33AA33}$ {F81414}5000 {33AA33}Mats {F81414}200 {33AA33}Drugs"); format(string, sizeof(string), "War inceput la ora: {F81414}%d: %d", hour, minuite); SendClientMessageToAll(COLOR_WHITE,string); SendClientMessageToAll(COLOR_WHITE, "Va rugam evitati acea zona!"); SendClientMessageToAll(COLOR_WHITE, "{6EF83C}|____War Started____|"); provoked = 0; } } else { SendClientMessage(playerid, COLOR_GREY, "You are not a Leader or a gang/mafia Leader."); } } return 1; } UITE SI ERORILE [pawn]C:\Documents and Settings\VALENTIN\Desktop\Galaxy Omega\Galaxy Omega\gamemodes\GOGF.pwn(10513) : warning 219: local variable "mod" shadows a variable at a preceding level C:\Documents and Settings\VALENTIN\Desktop\Galaxy Omega\Galaxy Omega\gamemodes\GOGF.pwn(32405) : warning 217: loose indentation C:\Documents and Settings\VALENTIN\Desktop\Galaxy Omega\Galaxy Omega\gamemodes\GOGF.pwn(32409) : error 017: undefined symbol "wtimer" C:\Documents and Settings\VALENTIN\Desktop\Galaxy Omega\Galaxy Omega\gamemodes\GOGF.pwn(32409) : warning 215: expression has no effect C:\Documents and Settings\VALENTIN\Desktop\Galaxy Omega\Galaxy Omega\gamemodes\GOGF.pwn(32409) : error 001: expected token: ";", but found "]" C:\Documents and Settings\VALENTIN\Desktop\Galaxy Omega\Galaxy Omega\gamemodes\GOGF.pwn(32409) : error 029: invalid expression, assumed zero C:\Documents and Settings\VALENTIN\Desktop\Galaxy Omega\Galaxy Omega\gamemodes\GOGF.pwn(32409) : fatal error 107: too many error messages on one line[/pawn]
×
×
  • 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.