Jump to content

crazyzee

Membru
  • Posts

    311
  • Joined

  • Last visited

    Never

Everything posted by crazyzee

  1. imi da eroarea asta : [pawn]D:\BACKUP~1\GAMEMO~1\GODFAT~1.PWN(16238) : warning 225: unreachable code Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Warning. [/pawn]
  2. A mers insa cand scriu ingame comanda /v color 1 8 zice "unknown comand" ... Sau merge decat la masinile personale , preicizez ca folosesc sistemu de masini /av :-"
  3. Salut am adaugat comanda /v color in gm si primesc eroarea asta la compilare : [pawn]D:\BACKUP~1\GAMEMO\GODFAT.PWN(16231) : error 004: function "OnPlayerUpdate" is not implemented Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error.[/pawn] Aceasta este comanda /v color : [pawn]if(strcmp(cmd, "/v color", true) == 0) { if(PlayerInfo[playerid][pPcarkey] == 999 && PlayerInfo[playerid][pPcarkey2] == 999 && PlayerInfo[playerid][pPcarkey3] == 999) { SendClientMessage(playerid, COLOR_GREY," You don't have a vehicle to respray."); return 1; } if(GetPlayerMoney(playerid) < 1000) { SendClientMessage(playerid, COLOR_GREY," You don't have enough money for vehicle respray."); return 1; } tmp = strtok(cmdtext, idx); if(!strlen(tmp)) { SendClientMessage(playerid, COLOR_WHITE, "USAGE: /v color [ColorOneID] [ColorTwoID]"); return 1; } new color1; color1 = strval(tmp); if(color1 < 0 && color1 > 126) { SendClientMessage(playerid, COLOR_GREY, " Wrong color id!"); return 1; } tmp = strtok(cmdtext, idx); if(!strlen(tmp)) { SendClientMessage(playerid, COLOR_WHITE, "USAGE: /v color [ColorOneID] [ColorTwoID]"); return 1; } new color2; color2 = strval(tmp); if(color2 < 0 && color2 > 126) { SendClientMessage(playerid, COLOR_GREY, " Wrong color id!"); return 1; } new vehid; if(GetPlayerVehicleID(playerid) == PlayerInfo[playerid][pPcarkey]) { vehid = PlayerInfo[playerid][pPcarkey]; } else if(GetPlayerVehicleID(playerid) == PlayerInfo[playerid][pPcarkey2]) { vehid = PlayerInfo[playerid][pPcarkey2]; } else if(GetPlayerVehicleID(playerid) == PlayerInfo[playerid][pPcarkey3]) { vehid = PlayerInfo[playerid][pPcarkey3]; } else { return 1; } if(IsPlayerInVehicle(playerid, vehid)) { CarInfo[vehid][cColorOne] = color1; CarInfo[vehid][cColorTwo] = color2; GivePlayerMoney(playerid, -1000); GameTextForPlayer(playerid, "~w~Bill for a Paint Respray~n~~r~-$1000", 5000, 1); ChangeVehicleColor(vehid, color1, color2); OnPropUpdate(); OnPlayerUpdate(playerid); return 1; } else { SendClientMessage(playerid, COLOR_GREY," You are not in your vehicle."); return 1; } }[/pawn] P.S Imi cer scuze Rock ptr. topicu anterior compilam in acelasi timp si mi sa blocat chrome :-|
  4. Salut am adaugat comanda /v color in gm si primesc eroarea asta la compilare : [pawn]D:\BACKUP~1\GAMEMO\GODFAT.PWN(16231) : error 004: function "OnPlayerUpdate" is not implemented Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error. [/pawn]
  5. Incearca cu asta [pawn]if(strcmp(cmd, "/respawnallcars", true) == 0 || strcmp(cmd, "/rac", true) == 0) { if(IsPlayerConnected(playerid)) { if(PlayerInfo[playerid][pAdmin] < 2) { SendClientMessage(playerid, 0x639EC5FF, "You are not authorized to use this command."); return 1; } // SetTimer("RACtime", 30000, 0); SetTimer("RACtime", 30000, 0); /*new bool:unwanted[CAR_AMOUNT]; for(new player=0; player<MAX_PLAYERS; player++) { if(IsPlayerInAnyVehicle(player)) { unwanted[GetPlayerVehicleID(player)]=true; } } for(new car = 1; car <= 500; car++) { if(!unwanted[car]) SetVehicleToRespawn(car); }*/ GetPlayerName(playerid, sendername, sizeof(sendername)); format(string, sizeof(string), "{FFFFFF}[{FF6600}RAC{FFFFFF}]: All unused cars well be respawned in {009999}10 {FFFFFF}seconds by {00B366}%s",sendername); SendClientMessageToAll(COLOR_RED,string); } return 1; }[/pawn]
  6. Salut , am o problema la sistemu de masini personale /av ! Dupa restart nu raman salvate masinile , ele raman pe server insa cu totul alti proprietari ! EX: masina lu "X" devine masina lu "Y" :-| !
  7. Folosesc sistemu de masini personale /av insa dupa ce creez masina personala daca dau rr la server raman salvate pe server insa total aiurea adica masina lu "X" devine masina lu "Y"....
  8. crazyzee

    bug /radio

    asta nu vrea decat sa-si faca reclama la server cred =))))
  9. Eu am descarcat varianta pe LINUX . EDIT: Inca primesc eroarea asta la compilare [pawn]C:\Documents and Settings\home\Desktop\Hardone by Katalinz0R\gamemodes\godfatherNEW.pwn(3864) : error 021: symbol already defined: "FC_OnPlayerConnect" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error. [/pawn]
  10. am descarcat si nu e nici un folder pawno :-" Edit: Ma ajuta cineva cu update la include ?
  11. si update-u cums e face ;;)
  12. Lam instalat insa primesc eroarea astea la compilare [pawn]C:\Documents and Settings\home\Desktop\Hardone by Katalinz0R\gamemodes\godfatherNEW.pwn(3864) : error 021: symbol already defined: "FC_OnPlayerConnect" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error. [/pawn]
  13. am cautat pe sa-mp.com ... daca stii tu vreunu bun cei de la host au zis ca rezolva si nici in ziua de azi nici un rezultat .... imi pun baza tot in voi ......
  14. salut as dori sa imi spuneti ce ar trebui sa fac cu un individ care ma tot flodeaza , exista vreun script ceva ....nu pica toate serverele dupa host doar al meu , cum ajung la 10 playeri , 12, gata flodeaza...
  15. Salut am o problema de vreo 2 zile , mi se inchide serverul , nu stiu din ce cauza , treaba e ca se inchide ddoar al meu celelalte care mai sunt pe host nu ai nici o problema . Precizez ca nici in log nu apare nimic suspect si nici erori la compilarea gm-ului nu am ...
  16. rezolvat ... aveam bug la /makeadmin si toti care stiau comanda se puteau face admin ... REZOLVAT !
  17. scz ... dar nu am inteles nimic ....
  18. Pai da am inteles , dar cum gasesc textu sa il sterg ...
  19. mmda eu am cerut sa mi se explice pas cu pas , am specificat ca e prima data cand incerc ...
  20. am downloadat MED , dar acum cum editez scrisu ala unde il gasesc......
  21. Salut am downloadat si eu MTA dupa google si as vrea sa modific mappa de la server , mai exact acolo unde scrie " VINEWOOD " as vrea sa inlocuiesc cu alt scris , am vazut pe unele servere ca este posibil . Daca e careva priceput sa imi explice si mie pas cu pas cum trebuie sa fac , precizez ca este prima data cand folosesc MTA insa cu ajutorul vostru sper sa reusesc .
  22. si cum sa il folosesc ... nu ma pricep deloc :(
  23. Salut inca am probleme , nu stiu cum dar imi intra cineva pe server , am schimbat si rcon password insa se face admin 1340 si da kick la toti playerii , inclusiv mie , sa uitat Mafia aseara in GM si FS-uri si na gasit nimic dubios ..... ma gandesc daca ar merge sa scot gradu asta de admin dar cum sa fac asta sau o solutie ceva pls...
×
×
  • 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.