Jump to content

smokeyutzu

Membru
  • Posts

    24
  • Joined

  • Last visited

    Never

smokeyutzu's Achievements

Explorer

Explorer (4/14)

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

Recent Badges

0

Reputation

  1. Salut am dat compile fara sa umblu la nimic si mia dat eroarea asta: [pawn]D:\jocuri\bsGaming1\bsGaming1\pawno\include\streamer.inc(297) : warning 202: number of arguments does not match definition D:\jocuri\bsGaming1\bsGaming1\pawno\include\streamer.inc(304) : error 025: function heading differs from prototype D:\jocuri\bsGaming1\bsGaming1\gamemodes\BiGSmoke5.pwn(1620) : error 021: symbol already defined: "Time" D:\jocuri\bsGaming1\bsGaming1\gamemodes\BiGSmoke5.pwn(4277) : error 021: symbol already defined: "OnPlayerUpdate" D:\jocuri\bsGaming1\bsGaming1\gamemodes\BiGSmoke5.pwn(5491) : warning 209: function "Streamer_OnPlayerDisconnect" should return a value D:\jocuri\bsGaming1\bsGaming1\gamemodes\BiGSmoke5.pwn(22862) : error 076: syntax error in the expression, or invalid function call D:\jocuri\bsGaming1\bsGaming1\gamemodes\BiGSmoke5.pwn(22863) : error 076: syntax error in the expression, or invalid function call D:\jocuri\bsGaming1\bsGaming1\gamemodes\BiGSmoke5.pwn(22864) : error 076: syntax error in the expression, or invalid function call D:\jocuri\bsGaming1\bsGaming1\gamemodes\BiGSmoke5.pwn(22865) : error 076: syntax error in the expression, or invalid function call D:\jocuri\bsGaming1\bsGaming1\gamemodes\BiGSmoke5.pwn(22866) : error 076: syntax error in the expression, or invalid function call D:\jocuri\bsGaming1\bsGaming1\gamemodes\BiGSmoke5.pwn(22867) : error 076: syntax error in the expression, or invalid function call D:\jocuri\bsGaming1\bsGaming1\gamemodes\BiGSmoke5.pwn(22868) : error 076: syntax error in the expression, or invalid function call D:\jocuri\bsGaming1\bsGaming1\gamemodes\BiGSmoke5.pwn(22869) : error 076: syntax error in the expression, or invalid function call D:\jocuri\bsGaming1\bsGaming1\gamemodes\BiGSmoke5.pwn(23240) : error 021: symbol already defined: "strtok" D:\jocuri\bsGaming1\bsGaming1\gamemodes\BiGSmoke5.pwn(23255) : error 047: array sizes do not match, or destination array is too small D:\jocuri\bsGaming1\bsGaming1\gamemodes\BiGSmoke5.pwn(69400) : error 021: symbol already defined: "JBC_TempBanCheck" D:\jocuri\bsGaming1\bsGaming1\gamemodes\BiGSmoke5.pwn(72761) : error 047: array sizes do not match, or destination array is too small D:\jocuri\bsGaming1\bsGaming1\gamemodes\BiGSmoke5.pwn(72771) : error 047: array sizes do not match, or destination array is too small D:\jocuri\bsGaming1\bsGaming1\gamemodes\BiGSmoke5.pwn(72890) : error 047: array sizes do not match, or destination array is too small D:\jocuri\bsGaming1\bsGaming1\gamemodes\BiGSmoke5.pwn(72910) : error 047: array sizes do not match, or destination array is too small D:\jocuri\bsGaming1\bsGaming1\gamemodes\BiGSmoke5.pwn(72917) : error 047: array sizes do not match, or destination array is too small Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 19 Errors. [/pawn] Cum as putea sa rezolv?
  2. Salut am o problema waru nu se termina niciodatauite aici comenzile si wartimer [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] [pawn]forward wartime(); public wartime() { if(scoreteam1 > scoreteam2) { SendClientMessageToAll(COLOR_WHITE, "{6EF83C}|____War Finished____|"); SendClientMessageToAll(COLOR_WHITE, "{F81414}Alianta {660099}Ballas - {99FFFF}Varrios Los Aztecas - {990033}The Mafia{F81414} a castigat warul"); //SendClientMessageToAll(COLOR_WHITE, "{6EF83C}Scor war: Ballas - VLA - TM vs Grove - LSV - TT : %d - %d ", scoreteam1 , scoreteam2); SendClientMessageToAll(COLOR_WHITE, "{F81414}All player on this aliances won 50.000 $, 5000 Mats, 100 Drugs."); SendClientMessageToAll(COLOR_WHITE, "{6EF83C}|____War Finished____|"); scoreteam1 = 0; scoreteam2 = 0; for(new i = 0; i < MAX_PLAYERS; i++) { if(IsPlayerConnected(i)) { new leader = PlayerInfo[pLeader], member = PlayerInfo[pMember]; if(leader == ID || leader == ID || leader == ID || member == ID || member == ID || member == ID) { PlayerInfo[pMats] += 5000; PlayerInfo[pDrugs] += 100; GivePlayerMoney(i, 50000); } } } } else if(scoreteam1 < scoreteam2) { SendClientMessageToAll(COLOR_WHITE, "{6EF83C}|____War Finished____|"); SendClientMessageToAll(COLOR_WHITE, "{F81414}Alianta {006633}Grove Street - {CC9933}Los Santos Vagos - {663300}The Triads{F81414} a castigat warul"); //SendClientMessageToAll(COLOR_WHITE, "{6EF83C}Scor war: Grove - LSV - TT vs Ballas - VLA - TM : %d - %d ", scoreteam2 , scoreteam1); SendClientMessageToAll(COLOR_WHITE, "{F81414}All player on this aliances won 50.000 $, 5000 Mats, 100 Drugs."); SendClientMessageToAll(COLOR_WHITE, "{6EF83C}|____War Finished____|"); scoreteam1 = 0; scoreteam2 = 0; for(new i = 0; i < MAX_PLAYERS; i++) { if(IsPlayerConnected(i)) { new leader = PlayerInfo[pLeader], member = PlayerInfo[pMember]; if(leader == ID || leader == ID || leader == ID || member == ID || member == ID || member == ID) { PlayerInfo[pMats] += 5000; PlayerInfo[pDrugs] += 100; GivePlayerMoney(i, 50000); } } } } return 1; }[/pawn]
  3. Ms frate daca ai putea sami pui un timer la asta adika sa se termina waru ca nu se termina niciodata [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] [pawn]forward wartime(); public wartime() { if(scoreteam1 > scoreteam2) { SendClientMessageToAll(COLOR_WHITE, "{6EF83C}|____War Finished____|"); SendClientMessageToAll(COLOR_WHITE, "{F81414}Alianta {660099}Ballas - {99FFFF}Varrios Los Aztecas - {990033}The Mafia{F81414} a castigat warul"); //SendClientMessageToAll(COLOR_WHITE, "{6EF83C}Scor war: Ballas - VLA - TM vs Grove - LSV - TT : %d - %d ", scoreteam1 , scoreteam2); SendClientMessageToAll(COLOR_WHITE, "{F81414}All player on this aliances won 50.000 $, 5000 Mats, 100 Drugs."); SendClientMessageToAll(COLOR_WHITE, "{6EF83C}|____War Finished____|"); scoreteam1 = 0; scoreteam2 = 0; for(new i = 0; i < MAX_PLAYERS; i++) { if(IsPlayerConnected(i)) { new leader = PlayerInfo[pLeader], member = PlayerInfo[pMember]; if(leader == ID || leader == ID || leader == ID || member == ID || member == ID || member == ID) { PlayerInfo[pMats] += 5000; PlayerInfo[pDrugs] += 100; GivePlayerMoney(i, 50000); } } } } else if(scoreteam1 < scoreteam2) { SendClientMessageToAll(COLOR_WHITE, "{6EF83C}|____War Finished____|"); SendClientMessageToAll(COLOR_WHITE, "{F81414}Alianta {006633}Grove Street - {CC9933}Los Santos Vagos - {663300}The Triads{F81414} a castigat warul"); //SendClientMessageToAll(COLOR_WHITE, "{6EF83C}Scor war: Grove - LSV - TT vs Ballas - VLA - TM : %d - %d ", scoreteam2 , scoreteam1); SendClientMessageToAll(COLOR_WHITE, "{F81414}All player on this aliances won 50.000 $, 5000 Mats, 100 Drugs."); SendClientMessageToAll(COLOR_WHITE, "{6EF83C}|____War Finished____|"); scoreteam1 = 0; scoreteam2 = 0; for(new i = 0; i < MAX_PLAYERS; i++) { if(IsPlayerConnected(i)) { new leader = PlayerInfo[pLeader], member = PlayerInfo[pMember]; if(leader == ID || leader == ID || leader == ID || member == ID || member == ID || member == ID) { PlayerInfo[pMats] += 5000; PlayerInfo[pDrugs] += 100; GivePlayerMoney(i, 50000); } } } } return 1; } [/pawn]
  4. sal am luat un fs dupa net lam editat dar imi o eroare uitati eroare:[pawn]D:\MyDocuments\Downloads\[www.fisierulmeu.ro] samp03csvr_win32\samp03csvr_win32\gamemodes\gf.pwn(7570) : warning 217: loose indentation D:\MyDocuments\Downloads\[www.fisierulmeu.ro] samp03csvr_win32\samp03csvr_win32\gamemodes\gf.pwn(7580) : warning 217: loose indentation D:\MyDocuments\Downloads\[www.fisierulmeu.ro] samp03csvr_win32\samp03csvr_win32\gamemodes\gf.pwn(9179) : warning 217: loose indentation D:\MyDocuments\Downloads\[www.fisierulmeu.ro] samp03csvr_win32\samp03csvr_win32\gamemodes\gf.pwn(9183) : error 017: undefined symbol "wtimer" D:\MyDocuments\Downloads\[www.fisierulmeu.ro] samp03csvr_win32\samp03csvr_win32\gamemodes\gf.pwn(9183) : warning 215: expression has no effect D:\MyDocuments\Downloads\[www.fisierulmeu.ro] samp03csvr_win32\samp03csvr_win32\gamemodes\gf.pwn(9183) : error 001: expected token: ";", but found "]" D:\MyDocuments\Downloads\[www.fisierulmeu.ro] samp03csvr_win32\samp03csvr_win32\gamemodes\gf.pwn(9183) : error 029: invalid expression, assumed zero D:\MyDocuments\Downloads\[www.fisierulmeu.ro] samp03csvr_win32\samp03csvr_win32\gamemodes\gf.pwn(9183) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors. [/pawn] Aici e linia:[pawn]//=======================War System=============================================== 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] == 6 || PlayerInfo[playerid][pLeader] == 13 || PlayerInfo[playerid][pLeader] == 14) { 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"); return 1; } else if(strcmp(x_nr,"1",true) == 0) { SendClientMessageToAll(COLOR_GREEN, "{00FA9A}[WAR]: {F81414}Yakuza{FFFFFF}-{14F0F8}Varrios Los Aztecas{FFFFFF}-{A00AE0}Ballas {FFFFFF}au declarat WAR , zona: {FFFFFF}GS/LS"); IDAlianta = 1; provoked = 1; wtimer[playerid] = 3000000; GangZoneShowForAll(gslswar, 0x000000D0); return 1; } else if(strcmp(x_nr,"2",true) == 0) { SendClientMessageToAll(COLOR_GREEN, "{00FA9A}[WAR]: {F81414}Yakuza{FFFFFF}-{14F0F8}Varrios Los Aztecas{FFFFFF}-{A00AE0}Ballas {FFFFFF}au declarat WAR , zona: {FFFFFF}BS/LS"); IDAlianta = 1; provoked = 1; wtimer[playerid] = 3000000; GangZoneShowForAll(bslswar, 0x000000D0); return 1; } } if (PlayerInfo[playerid][pLeader] == 5 || PlayerInfo[playerid][pLeader] == 15 || PlayerInfo[playerid][pLeader] == 12) { 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 "); return 1; } else if(strcmp(x_nr,"1",true) == 0) { SendClientMessageToAll(COLOR_GREEN, "{00FA9A}[WAR]: {996600}La Casa Nostra{FFFFFF}-{EDEA09}Los Santos Vagos{FFFFFF}-{009900}Groove {FFFFFF}au declarat WAR , zona: {FFFFFF}GS/LS"); wtimer[playerid] = 3000000; IDAlianta = 2; provoked = 1; GangZoneShowForAll(gslswar, 0x000000D0); return 1; } else if(strcmp(x_nr,"2",true) == 0) { SendClientMessageToAll(COLOR_GREEN, "{00FA9A}[WAR]: {996600}La Casa Nostra{FFFFFF}-{EDEA09}Los Santos Vagos{FFFFFF}-{009900}Groove {FFFFFF}au declarat WAR , zona: {FFFFFF}BS/LS"); wtimer[playerid] = 3000000; IDAlianta = 2; provoked = 1; GangZoneShowForAll(bslswar, 0x000000D0); return 1; } } else { SendClientMessage(playerid, COLOR_GRAD2, "Nu esti leader-ul unei Mafii sau al unui Gang!"); return 1; } } return 1; } if(strcmp(cmd, "/acceptwar", true) == 0) { if(IsPlayerConnected(playerid)) { if (provoked == 1) { if (PlayerInfo[playerid][pLeader] >= 5 || PlayerInfo[playerid][pLeader] >= 6 || PlayerInfo[playerid][pLeader] >= 15 || PlayerInfo[playerid][pLeader] >= 13 || PlayerInfo[playerid][pLeader] >= 14 || PlayerInfo[playerid][pLeader] >= 12) { if (PlayerInfo[playerid][pLeader] == 5 || PlayerInfo[playerid][pLeader] == 13 || PlayerInfo[playerid][pLeader] == 14) { if(IDAlianta == 1) return SendClientMessage(playerid,0xFFFFFFFF,"Faci parte din alianta care ataca nu poti da /acceptwar!"); } if (PlayerInfo[playerid][pLeader] == 6 || PlayerInfo[playerid][pLeader] == 15 || PlayerInfo[playerid][pLeader] == 18) { if(IDAlianta == 2) return SendClientMessage(playerid,0xFFFFFFFF,"Faci parte din alianta care ataca nu poti da /acceptwar!"); } new hour,minuite; gettime(hour,minuite); FixHour(hour); scoreteam1 = 0; scoreteam2 = 0; SetTimer("wtime", 18, false); SetTimer("wartime", 900000, true); // 15 minute dureaza razboiul [babica],nu aveai settimer SendClientMessageToAll(COLOR_WHITE, "{6EF83C}|____A inceput razboiul____|"); format(string, sizeof(string), "{F81414}Yakuza{FFFFFF}-{14F0F8}VLA{FFFFFF}-{A00AE0}Ballas{FFFFFF} vS {996600}LCN{FFFFFF}-{EDEA09}LSV{FFFFFF}-{009900}Groove {FFFFFF}"); SendClientMessageToAll(COLOR_WHITE,string); SendClientMessageToAll(COLOR_WHITE, "Premiul: {F81414}100.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 {FF0033}evitati{FFFFFF} acea zona!"); SendClientMessageToAll(COLOR_WHITE, "{6EF83C}|____A inceput razboiul____|"); provoked = 0; IDAlianta = 0; } else { SendClientMessage(playerid, COLOR_GREY, "Nu esti leader-ul unei Mafii sau al unui Gang."); } } else { SendClientMessage(playerid, COLOR_GREY, "Nu ai fost provocat de nimeni."); } } return 1; }[/pawn]
  5. bun 5/5 dar daca ai putea sa pui sex, ani, oras pe dialog ar si mai super oricum + de la mn
  6. Salut am facut o factiune noua am facut tot ok dar cand compilez imi da erorile astea Erori: [pawn]D:\MyDocuments\Downloads\[www.fisierulmeu.ro] samp03csvr_win32\samp03csvr_win32\gamemodes\gf.pwn(4373) : warning 217: loose indentation D:\MyDocuments\Downloads\[www.fisierulmeu.ro] samp03csvr_win32\samp03csvr_win32\gamemodes\gf.pwn(4386) : warning 217: loose indentation D:\MyDocuments\Downloads\[www.fisierulmeu.ro] samp03csvr_win32\samp03csvr_win32\gamemodes\gf.pwn(6403) : error 001: expected token: "]", but found "}" D:\MyDocuments\Downloads\[www.fisierulmeu.ro] samp03csvr_win32\samp03csvr_win32\gamemodes\gf.pwn(6403) : error 029: invalid expression, assumed zero D:\MyDocuments\Downloads\[www.fisierulmeu.ro] samp03csvr_win32\samp03csvr_win32\gamemodes\gf.pwn(6403) : error 029: invalid expression, assumed zero D:\MyDocuments\Downloads\[www.fisierulmeu.ro] samp03csvr_win32\samp03csvr_win32\gamemodes\gf.pwn(6403) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors.[/pawn] Uite aici e linia: [pawn] else if(PlayerInfo[targetid][pMember] == 16 || PlayerInfo[targetid][pLeader] == 16)//Speed ranks { if(PlayerInfo[targetid][pRank] == 1) { rtext = "Newmec"; } else if(PlayerInfo[targetid}[pRank] == 2) { rtext = "SpedMen"; } else if(PlayerInfo[targetid][pRank] == 3) { rtext = "Mechanic"; } else if(PlayerInfo[targetid][pRank] == 4) { rtext = "Top Mec"; } else if(PlayerInfo[targetid][pRank] == 5) { rtext = "Speddo"; } else if(PlayerInfo[targetid][pRank] == 6) { rtext = "Director Mechanic"; } else { rtext = "Newmec"; } }[/pawn] Ajutatima!!!!
  7. Uite aici e un tutorial nu e facut de mn il folosesc si eu new car; public OnGameModeInit() { car = AddStaticVehicle(ID,x,y,z,233.9429,1,62); // Vehicul public OnPlayerStateChange(playerid, newstate, oldstate) { new PlayerName[24]; GetPlayerName(playerid, PlayerName, sizeof(PlayerName)); if(newstate == PLAYER_STATE_DRIVER) { new Vehicle = GetPlayerVehicleID(playerid); if(Vehicle == admincar) { if(strcmp(PlayerName,"Numele playerului",true)) { RemovePlayerFromVehicle(playerid); SendClientMessage(playerid, 0x33AA33AA, "Imi pare rau , Aceasta masina este a lui Seven"); } } } return 1; }
  8. smokeyutzu

    Eroare

    Poti sami arati linia?
  9. Salut , am luat un gm dp net si am incepaut sal editez ! Nu am umblat la vehicule fac dai daca sunt vla zice ca treb sa fiu taxi company ca sa pot conduce vihiculul si tot asa la toate factiunile Va rog ajutatima nush ce are
  10. :| Am mai vazut asta undeva asta nu e facut de tine 0/5 incetati sa nu mai postati cv furat
  11. AKM nu mi se mai compileaza deloc
  12. Frate tu vrei comanda si cu text-u la pick up ca nu inteleg PS: te ajut cu cea mai mare placere
  13. imi da mai multe daca il pun la sfarsif daaca le pun la settime tot alea mi le da dar nu inteleg dc PS:e fs nu e gamemod
×
×
  • 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.