Slipknot
Membru-
Posts
163 -
Joined
-
Last visited
Content Type
Profiles
Forums
News
Documentation
Everything posted by Slipknot
-
Nu se cer scripturi + nuse lasa id
-
Pai nu chear ca fac parte din sistemu de war: new doipierdut=0; public doiGangWar2() { GangZoneHideForAll(liber22); GangZoneShowForAll(liber22,0xFF7F00FF); attackingdoi=0; doipierdut = 1; culoaredoi = 5; doizonewon = 1; } public doiGangWar3() { GangZoneHideForAll(liber22); GangZoneShowForAll(liber22,0x33AA33AA); doipierdut = 1; culoaredoi = 6; doizonewon = 1; attackingdoi=0; } public doiGangWar4() { GangZoneHideForAll(liber22); GangZoneShowForAll(liber22,0xFFD700FF); doipierdut = 0; culoaredoi = 1; doizonewon = 1; attackingdoi=0; } public doiGangWar5() { GangZoneHideForAll(liber22); GangZoneShowForAll(liber22,COLOR_WHITE); doipierdut = 0; culoaredoi = 2; doizonewon = 1; attackingdoi=0; } public doiGangWar6() { GangZoneHideForAll(liber22); GangZoneShowForAll(liber22,COLOR_RED); doipierdut = 1; culoaredoi = 16; doizonewon = 1; attackingdoi=0; } public doiGangWar7() { GangZoneHideForAll(liber22); GangZoneShowForAll(liber22,0x5EFB6EFF); doipierdut = 1; culoaredoi = 15; doizonewon = 1; attackingdoi=0; }
-
Salut am pus si eu astazi sistemu de war in gamemode insa mea dat niste erori: C:\Documents and Settings\Demogorgon666\Desktop\BlackStreet\gamemodes\BS-RPG.pwn(43330) : warning 204: symbol is assigned a value that is never used: "doipierdut" C:\Documents and Settings\Demogorgon666\Desktop\BlackStreet\gamemodes\BS-RPG.pwn(43452) : warning 204: symbol is assigned a value that is never used: "fourpierdut" C:\Documents and Settings\Demogorgon666\Desktop\BlackStreet\gamemodes\BS-RPG.pwn(43270) : warning 204: symbol is assigned a value that is never used: "onepierdut" C:\Documents and Settings\Demogorgon666\Desktop\BlackStreet\gamemodes\BS-RPG.pwn(43391) : warning 204: symbol is assigned a value that is never used: "treipierdut"
-
Multam a mers si mai am un warnings daca ma poti ajuta: C:\Documents and Settings\Demogorgon666\Desktop\samp03\gamemodes\HGZ.pwn(11878) : warning 219: local variable "mod" shadows a variable at a preceding level new mod = 100;
-
Salut am si eu o problema cand compilez gamemodul primesc erorile astea: C:\Documents and Settings\Demogorgon666\Desktop\samp03\gamemodes\HGZ.pwn(10047) : error 021: symbol already defined: "strtok" C:\Documents and Settings\Demogorgon666\Desktop\samp03\gamemodes\HGZ.pwn(10062) : error 047: array sizes do not match, or destination array is too small Linia: strtok(const string[], &index) { new length = strlen(string); while ((index < length) && (string[index] <= ' ')) { index++; } new offset = index; new result[50]; while ((index < length) && (string[index] > ' ') && ((index - offset) < (sizeof(result) - 1))) { result[index - offset] = string[index]; index++; } result[index - offset] = EOS; return result; }
-
Prea simplu...
-
Prea mare....mai mult pt stunt
-
Mea zis cineva sa bag o comanda care verifica cata benzina mai e in vehicul ok am bagato si de fiecare data zicea 100% Comanda: if ( strcmp ( cmdtext, "/verificabenzina", true ) == 0 ) { new text [ 300 ]; format ( text, sizeof ( text ), "Benzia ta: %d", Gas ) ; SendClientMessage ( playerid, -1, text ); return 1; }
-
Tot nu merge...
-
Am incercat si tot la fel......scrie ca se alimenteaza dar tot nu are benzina masina...
-
Am schimbat speedo am bagat vreo 3 dar degeaba nusar putea sa fie la public Fillup? public Fillup: public Fillup() { for(new i=0; i<MAX_PLAYERS; i++) { if(IsPlayerConnected(i)) { new VID; new FillUp; new string[256]; VID = GetPlayerVehicleID(i); FillUp = GasMax - Gas[VID]; if(Refueling[i] == 1) { if(IsACopCar(VID) || IsAnFbiCar(VID) || IsAnAmbulance(VID) || IsNgCar(VID) || IsAGovernmentCar(VID) || IsAHspdCar(VID)) { Gas[VID] += FillUp; FillUp = FillUp * 10; format(string,sizeof(string),"* Vehicle filled up, for: $%s.",number_format(FillUp)); SendClientMessage(i,COLOR_LIGHTBLUE,string); GameTextForPlayer(i, "~w~Government has paid for a gas.", 5000, 1); SBizzInfo[3][sbTill] += FillUp; ExtortionSBiz(3, FillUp); Refueling[i] = 0; TogglePlayerControllable(i, 1); } else { if(GetPlayerCash(i) >= FillUp+4) { Gas[VID] += FillUp; FillUp = FillUp * 10; format(string,sizeof(string),"* Vehicle filled up, for: $%s.",number_format(FillUp)); SendClientMessage(i,COLOR_LIGHTBLUE,string); GivePlayerCash(i, - FillUp); SBizzInfo[3][sbTill] += FillUp; ExtortionSBiz(3, FillUp); Refueling[i] = 0; TogglePlayerControllable(i, 1); } else { format(string,sizeof(string),"* Not enough Money to refill, it costs $%s to fill your Vehicle.",number_format(FillUp)); SendClientMessage(i,COLOR_LIGHTBLUE,string); TogglePlayerControllable(i, 1); } } } } } return 1; } Comanda fuel: if(strcmp(cmd, "/fuel", true) == 0) { if(IsPlayerConnected(playerid)) { if (gGas[playerid] == 0) { gGas[playerid] = 1; GameTextForPlayer(playerid, "~n~~n~~n~~n~~n~~n~~n~~g~Fuel Info on", 5000, 5); PlayerPlaySound(playerid, 1145, 0.0, 0.0, 0.0); } else if (gGas[playerid] == 1) { gGas[playerid] = 0; GameTextForPlayer(playerid, "~n~~n~~n~~n~~n~~n~~n~~r~Fuel Info off", 5000, 5); PlayerPlaySound(playerid, 1145, 0.0, 0.0, 0.0); } } return 1; }
-
Comanda Fill: if(strcmp(cmd, "/fill", true) == 0) { if(IsPlayerConnected(playerid)) { if(IsAtGasStation(playerid)) { GameTextForPlayer(playerid,"~w~~n~~n~~n~~n~~n~~n~~n~~n~~n~Re-Fueling Vehicle, please wait",2000,3); SetTimer("Fillup",RefuelWait,0); Refueling[playerid] = 1; } else { SendClientMessage(playerid,COLOR_GREY," You're not at a Gas Station!"); } } return 1; } Comanda FuelCars: if(strcmp(cmd, "/fuelcars", true) == 0) { if(IsPlayerConnected(playerid)) { if(PlayerInfo[playerid][pAdmin] >= 3) { for(new c=0;c<CAR_AMOUNT;c++) { Gas[c] = GasMax; } SendClientMessage(playerid, COLOR_GREY, " All cars filled with Fuel ! "); } else { SendClientMessage(playerid, COLOR_GREY, " You are not an Admin ! "); return 1; } } return 1; }
-
Am si eu o problema.....cand ma duc la o benzinarie sa alimentez vehiculul scriu: /fill si scrie Asteapta putin vehiculul se alimenteaza. Dupa ce termina imi ia bani dar tot nam benzina in masina insa daca scriu: /fuelcars la fel....ma puteti ajuta?
-
Cat de urata e mapa fara suparare.....e aiurea rau detot 1/5
-
macar de puneai vreo 2 3 poze.....4/5
-
Pai uitate la onplayerlogin daca ai toate in regula sau poate ai loginu prin [fs].....si sar putea sa ai vrun bug prin el.....sau.....fai un update la server pune toate fisierele 0.3e pe sv tau poate ca dupa va mere
-
Da.....si eu am avut aceeasi problema cu carownership alui im_bank......uitate in GM daca nai cumva un system de masini persoane deja iar daca nai eu cred ca e dela carownership iti recomand sa folosesti altu....
-
4/5 nupreai genu meu dar bravo
-
3/5 pentru inceput...
-
destul de frumos bravo! 5/5
-
3/5 Ai fi putut sa faci si mai bine
-
10/10 super gj
-
6211: [pawn]new loginname[64];[/pawn] 6212: [pawn]GetPlayerName(playerid,loginname,sizeof(loginname));[/pawn] 6216: [pawn]else[/pawn] 6217: [pawn]{[/pawn]