Jump to content

Madu99

Membru
  • Posts

    93
  • Joined

  • Last visited

    Never

Everything posted by Madu99

  1. Madu99

    bug wanted

    gata am rezolvato trebuia doar sa dau /setteam 2! puteti da tc ms
  2. Madu99

    bug wanted

    Sall am si eu o problema cand dau /wanted la cineva si il omor dupa nu il baga la jail...cum ar trebui defapt:| ....ce trebuie inlocuit/adaugat?
  3. Madu99

    bug /radio

    nu e nici de la radio nici placa de sunet pe alte sv mi merge perfect! :|
  4. Madu99

    bug /radio

    Cand dau /radioxqs si selectez un post se aude ...doar ca se aude intrerupt! :| [pawn]if(strcmp(cmd, "/fillcar", true) == 0) { if(IsPlayerConnected(playerid)) { if(PlayerInfo[playerid][pFuel] > 0) { if(Gas[gLastCar[playerid]] < 81) { SendClientMessage(playerid, COLOR_LIGHTBLUE, "» Felicitari, ai alimentat Vehiculul cu 20 Fuel."); Gas[gLastCar[playerid]] += 20; PlayerInfo[playerid][pFuel] = 0; } else { SendClientMessage(playerid, COLOR_GREY, "» Vehiculul tau are combustibil necesar."); } } else { SendClientMessage(playerid, COLOR_GREY, "» Ne pare rau, dar nu aveti Fuel in Canistra."); } } return 1; }[/pawn]
  5. Am un bug la /buybiz cand cumpar un biz si vr sa il vand si dau /sellbiz zice ca nu detin un biz iar cand vreau sa cumpar un biz zice ca am deja un biz ... [pawn]if(strcmp(cmd, "/buybiz", true) == 0) { if(IsPlayerConnected(playerid)) { new Float:oldposx, Float:oldposy, Float:oldposz; GetPlayerName(playerid, playername, sizeof(playername)); GetPlayerPos(playerid, oldposx, oldposy, oldposz); if(PlayerInfo[playerid][pPbiskey] != 255) { SendClientMessage(playerid, COLOR_WHITE, " You already own a business, type /sellbiz if you want to buy this one."); return 1; } for(new b = 0; b < sizeof(SBizzInfo); b++) { if(PlayerToPoint(2.0, playerid, SBizzInfo[sbEntranceX], SBizzInfo[sbEntranceY], SBizzInfo[sbEntranceZ]) && SBizzInfo[sbOwned] == 0) { if(PlayerInfo[playerid][pLevel] < SBizzInfo[sbLevelNeeded]) { format(string, sizeof(string), "You Must Be Level %d To Purchase This",SBizzInfo[sbLevelNeeded]); SendClientMessage(playerid, COLOR_GRAD5, string); return 1; } if(GetPlayerMoney(playerid) > SBizzInfo[sbBuyPrice]) { Delete3DTextLabel(Text3D:SBizzLabel); PlayerInfo[playerid][pPbiskey] = b+100; SBizzInfo[sbOwned] = 1; GetPlayerName(playerid, sendername, sizeof(sendername)); strmid(SBizzInfo[sbOwner], sendername, 0, strlen(sendername), 255); GivePlayerMoney(playerid,-SBizzInfo[sbBuyPrice]); PlayerPlayMusic(playerid); SendClientMessage(playerid, COLOR_WHITE, "Congratulations, On Your New Purchase."); SendClientMessage(playerid, COLOR_WHITE, "Type /help to review the new business help section."); SendClientMessage(playerid, COLOR_LIGHTRED, "ATENTIE: Daca vinzi biz-ul nu o sa primesti banii de la buy !"); DateProp(playerid); OnPropUpdate(); OnPlayerUpdateEx(playerid); return 1; } else { SendClientMessage(playerid, COLOR_WHITE, "You don't have the cash for that"); return 1; } } } for(new b = 0; b < sizeof(BizzInfo); b++) { if(PlayerToPoint(2.0, playerid, BizzInfo[bEntranceX], BizzInfo[bEntranceY], BizzInfo[bEntranceZ]) && BizzInfo[bOwned] == 0) { if(PlayerInfo[playerid][pLevel] < BizzInfo[bLevelNeeded]) { format(string, sizeof(string), "You Must Be Level %d To Purchase This",BizzInfo[bLevelNeeded]); SendClientMessage(playerid, COLOR_GRAD5, string); return 1; } if(GetPlayerMoney(playerid) > BizzInfo[bBuyPrice]) { PlayerInfo[playerid][pPbiskey] = b; BizzInfo[bOwned] = 1; GetPlayerName(playerid, sendername, sizeof(sendername)); strmid(BizzInfo[bOwner], sendername, 0, strlen(sendername), 255); GivePlayerMoney(playerid,-BizzInfo[bBuyPrice]); PlayerPlayMusic(playerid); SetPlayerInterior(playerid,BizzInfo[bInterior]); PlayerInfo[playerid][pInt] = BizzInfo[bInterior]; SetPlayerPos(playerid,BizzInfo[bExitX],BizzInfo[bExitY],BizzInfo[bExitZ]); GameTextForPlayer(playerid, "~w~Welcome~n~You can exit at any time by moving to this door and typing /exit", 5000, 3); PlayerInfo[playerid][pInt] = BizzInfo[bInterior]; PlayerInfo[playerid][pLocal] = b ; SendClientMessage(playerid, COLOR_WHITE, "Congratulations, On Your New Purchase."); SendClientMessage(playerid, COLOR_WHITE, "Type /help to review the new business help section."); DateProp(playerid); OnPropUpdate(); OnPlayerUpdateEx(playerid); return 1; } else { SendClientMessage(playerid, COLOR_WHITE, "You don't have the cash for that"); return 1; } } } } return 1; } [/pawn] Si if(strcmp(cmd, "/sellbiz", true) == 0) { if(IsPlayerConnected(playerid)) { GetPlayerName(playerid, playername, sizeof(playername)); if(PlayerInfo[playerid][pPbiskey] == 255) { SendClientMessage(playerid, COLOR_WHITE, "Nu deti un Bizz."); return 1; } if(PlayerInfo[playerid][pMarried] > 0) { SendClientMessage(playerid, COLOR_GREY, "Esti Casatorit nu poti vinde Bizul"); return 1; } if(PlayerInfo[playerid][pPbiskey] >= 100 && strcmp(playername, SBizzInfo[PlayerInfo[playerid][pPbiskey]-100][sbOwner], true) == 0) { new bouse = PlayerInfo[playerid][pPbiskey]-100; //GivePlayerMoney(playerid,SBizzInfo[bouse][sbTill]); SBizzInfo[bouse][sbLocked] = 1; SBizzInfo[bouse][sbOwned] = 0; GetPlayerName(playerid, sendername, sizeof(sendername)); strmid(SBizzInfo[bouse][sbOwner], "The State", 0, strlen("The State"), 255); strmid(SBizzInfo[bouse][sbExtortion], "No-one", 0, strlen("No-one"), 255); ConsumingMoney[playerid] = 1; PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0); format(string, sizeof(string), "~w~Congratulations~n~ You have sold your property for ~n~~g~$%d", SBizzInfo[bouse][sbTill]); GameTextForPlayer(playerid, string, 10000, 3); SBizzInfo[bouse][sbTill] = 0; PlayerInfo[playerid][pPbiskey] = 255; OnPropUpdate(); OnPlayerUpdateEx(playerid); return 1; } if(strcmp(playername, BizzInfo[PlayerInfo[playerid][pPbiskey]][bOwner], true) == 0) { new bouse = PlayerInfo[playerid][pPbiskey]; BizzInfo[bouse][bLocked] = 1; BizzInfo[bouse][bOwned] = 0; GetPlayerName(playerid, sendername, sizeof(sendername)); strmid(BizzInfo[bouse][bOwner], "The State", 0, strlen("The State"), 255); strmid(BizzInfo[bouse][bExtortion], "No-one", 0, strlen("No-one"), 255); ConsumingMoney[playerid] = 1; GivePlayerMoney(playerid,BizzInfo[bouse][bTill]); PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0); format(string, sizeof(string), "~w~Congratulations~n~ You have sold your property for ~n~~g~$%d", BizzInfo[bouse][bTill]); GameTextForPlayer(playerid, string, 10000, 3); BizzInfo[bouse][bTill] = 0; PlayerInfo[playerid][pPbiskey] = 255; OnPropUpdate(); OnPlayerUpdateEx(playerid); return 1; } else { SendClientMessage(playerid, COLOR_WHITE, "Nu deti un Bizz."); } } return 1; }
  6. Madu99

    Bug /fill

    Sall am si eu o problema :o3 Cnad dau /fill la gaz station zice "unknown comand" iar daca dau in alta parte zice "you`re not at gas station" nu inteleg de ce zice ca nu exista comanda :-?? [pawn]if(strcmp(cmd, "/fill", true) == 0) { if(IsPlayerConnected(playerid)) { if(IsAtGasStation(playerid)) { if(Gas[gLastCar[playerid]] > 100) { SendClientMessage(playerid,COLOR_GREY," You have more than 100 fuel."); return 1; } 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; } if(strcmp(cmd, "/fillcar", true) == 0) { if(IsPlayerConnected(playerid)) { if(PlayerInfo[playerid][pFuel] > 0) { if(Gas[gLastCar[playerid]] < 81) { SendClientMessage(playerid, COLOR_LIGHTBLUE, " You filled your car with 20 percent Fuel from your Gas Can."); Gas[gLastCar[playerid]] += 20; PlayerInfo[playerid][pFuel] = 0; } else { SendClientMessage(playerid, COLOR_GREY, " Your Car still got enough Fuel to drive with !"); } } else { SendClientMessage(playerid, COLOR_GREY, " You have no Fuel left in your Gas Can !"); } } return 1; }[/pawn]
  7. Am un bug la /buybiz cand cumpar un biz si vr sa il vand si dau /sellbiz zice ca nu detin un biz :| iar cand vreau sa cumpar un biz zice ca am deja un biz :|... [pawn] if(strcmp(cmd, "/buybiz", true) == 0) { if(IsPlayerConnected(playerid)) { new Float:oldposx, Float:oldposy, Float:oldposz; GetPlayerName(playerid, playername, sizeof(playername)); GetPlayerPos(playerid, oldposx, oldposy, oldposz); if(PlayerInfo[playerid][pPbiskey] != 255) { SendClientMessage(playerid, COLOR_WHITE, " You already own a business, type /sellbiz if you want to buy this one."); return 1; } for(new b = 0; b < sizeof(SBizzInfo); b++) { if(PlayerToPoint(2.0, playerid, SBizzInfo[sbEntranceX], SBizzInfo[sbEntranceY], SBizzInfo[sbEntranceZ]) && SBizzInfo[sbOwned] == 0) { if(PlayerInfo[playerid][pLevel] < SBizzInfo[sbLevelNeeded]) { format(string, sizeof(string), "You Must Be Level %d To Purchase This",SBizzInfo[sbLevelNeeded]); SendClientMessage(playerid, COLOR_GRAD5, string); return 1; } if(GetPlayerMoney(playerid) > SBizzInfo[sbBuyPrice]) { Delete3DTextLabel(Text3D:SBizzLabel); PlayerInfo[playerid][pPbiskey] = b+100; SBizzInfo[sbOwned] = 1; GetPlayerName(playerid, sendername, sizeof(sendername)); strmid(SBizzInfo[sbOwner], sendername, 0, strlen(sendername), 255); GivePlayerMoney(playerid,-SBizzInfo[sbBuyPrice]); PlayerPlayMusic(playerid); SendClientMessage(playerid, COLOR_WHITE, "Congratulations, On Your New Purchase."); SendClientMessage(playerid, COLOR_WHITE, "Type /help to review the new business help section."); SendClientMessage(playerid, COLOR_LIGHTRED, "ATENTIE: Daca vinzi biz-ul nu o sa primesti banii de la buy !"); DateProp(playerid); OnPropUpdate(); OnPlayerUpdateEx(playerid); return 1; } else { SendClientMessage(playerid, COLOR_WHITE, "You don't have the cash for that"); return 1; } } } for(new b = 0; b < sizeof(BizzInfo); b++) { if(PlayerToPoint(2.0, playerid, BizzInfo[bEntranceX], BizzInfo[bEntranceY], BizzInfo[bEntranceZ]) && BizzInfo[bOwned] == 0) { if(PlayerInfo[playerid][pLevel] < BizzInfo[bLevelNeeded]) { format(string, sizeof(string), "You Must Be Level %d To Purchase This",BizzInfo[bLevelNeeded]); SendClientMessage(playerid, COLOR_GRAD5, string); return 1; } if(GetPlayerMoney(playerid) > BizzInfo[bBuyPrice]) { PlayerInfo[playerid][pPbiskey] = b; BizzInfo[bOwned] = 1; GetPlayerName(playerid, sendername, sizeof(sendername)); strmid(BizzInfo[bOwner], sendername, 0, strlen(sendername), 255); GivePlayerMoney(playerid,-BizzInfo[bBuyPrice]); PlayerPlayMusic(playerid); SetPlayerInterior(playerid,BizzInfo[bInterior]); PlayerInfo[playerid][pInt] = BizzInfo[bInterior]; SetPlayerPos(playerid,BizzInfo[bExitX],BizzInfo[bExitY],BizzInfo[bExitZ]); GameTextForPlayer(playerid, "~w~Welcome~n~You can exit at any time by moving to this door and typing /exit", 5000, 3); PlayerInfo[playerid][pInt] = BizzInfo[bInterior]; PlayerInfo[playerid][pLocal] = b ; SendClientMessage(playerid, COLOR_WHITE, "Congratulations, On Your New Purchase."); SendClientMessage(playerid, COLOR_WHITE, "Type /help to review the new business help section."); DateProp(playerid); OnPropUpdate(); OnPlayerUpdateEx(playerid); return 1; } else { SendClientMessage(playerid, COLOR_WHITE, "You don't have the cash for that"); return 1; } } } } return 1; }[/pawn] Si [pawn] if(strcmp(cmd, "/sellbiz", true) == 0) { if(IsPlayerConnected(playerid)) { GetPlayerName(playerid, playername, sizeof(playername)); if(PlayerInfo[playerid][pPbiskey] == 255) { SendClientMessage(playerid, COLOR_WHITE, "Nu deti un Bizz."); return 1; } if(PlayerInfo[playerid][pMarried] > 0) { SendClientMessage(playerid, COLOR_GREY, "Esti Casatorit nu poti vinde Bizul"); return 1; } if(PlayerInfo[playerid][pPbiskey] >= 100 && strcmp(playername, SBizzInfo[PlayerInfo[playerid][pPbiskey]-100][sbOwner], true) == 0) { new bouse = PlayerInfo[playerid][pPbiskey]-100; //GivePlayerMoney(playerid,SBizzInfo[bouse][sbTill]); SBizzInfo[bouse][sbLocked] = 1; SBizzInfo[bouse][sbOwned] = 0; GetPlayerName(playerid, sendername, sizeof(sendername)); strmid(SBizzInfo[bouse][sbOwner], "The State", 0, strlen("The State"), 255); strmid(SBizzInfo[bouse][sbExtortion], "No-one", 0, strlen("No-one"), 255); ConsumingMoney[playerid] = 1; PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0); format(string, sizeof(string), "~w~Congratulations~n~ You have sold your property for ~n~~g~$%d", SBizzInfo[bouse][sbTill]); GameTextForPlayer(playerid, string, 10000, 3); SBizzInfo[bouse][sbTill] = 0; PlayerInfo[playerid][pPbiskey] = 255; OnPropUpdate(); OnPlayerUpdateEx(playerid); return 1; } if(strcmp(playername, BizzInfo[PlayerInfo[playerid][pPbiskey]][bOwner], true) == 0) { new bouse = PlayerInfo[playerid][pPbiskey]; BizzInfo[bouse][bLocked] = 1; BizzInfo[bouse][bOwned] = 0; GetPlayerName(playerid, sendername, sizeof(sendername)); strmid(BizzInfo[bouse][bOwner], "The State", 0, strlen("The State"), 255); strmid(BizzInfo[bouse][bExtortion], "No-one", 0, strlen("No-one"), 255); ConsumingMoney[playerid] = 1; GivePlayerMoney(playerid,BizzInfo[bouse][bTill]); PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0); format(string, sizeof(string), "~w~Congratulations~n~ You have sold your property for ~n~~g~$%d", BizzInfo[bouse][bTill]); GameTextForPlayer(playerid, string, 10000, 3); BizzInfo[bouse][bTill] = 0; PlayerInfo[playerid][pPbiskey] = 255; OnPropUpdate(); OnPlayerUpdateEx(playerid); return 1; } else { SendClientMessage(playerid, COLOR_WHITE, "Nu deti un Bizz."); } } return 1; }[/pawn]
  8. Sall am si eu o problema :o3 Cnad dau /fill la gaz station zice "unknown comand" iar daca dau in alta parte zice "you`re not at gas station" nu inteleg de ce zice ca nu exista comanda :-?? [pawn]if(strcmp(cmd, "/fill", true) == 0) { if(IsPlayerConnected(playerid)) { if(IsAtGasStation(playerid)) { if(Gas[gLastCar[playerid]] > 100) { SendClientMessage(playerid,COLOR_GREY," You have more than 100 fuel."); return 1; } 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; } if(strcmp(cmd, "/fillcar", true) == 0) { if(IsPlayerConnected(playerid)) { if(PlayerInfo[playerid][pFuel] > 0) { if(Gas[gLastCar[playerid]] < 81) { SendClientMessage(playerid, COLOR_LIGHTBLUE, " You filled your car with 20 percent Fuel from your Gas Can."); Gas[gLastCar[playerid]] += 20; PlayerInfo[playerid][pFuel] = 0; } else { SendClientMessage(playerid, COLOR_GREY, " Your Car still got enough Fuel to drive with !"); } } else { SendClientMessage(playerid, COLOR_GREY, " You have no Fuel left in your Gas Can !"); } } return 1; }[/pawn]
  9. Am si eu sistemu /v create si cand imi fac o masina totul bine pana dau rr la server si vehiculul ia alt nume al altui player:| Uitati aici pwn : http://www.girlshare.ro/32220615.9
  10. Sall la masinile persoanle pe server dupa ce le cumper de ex /v nrg 1 1 pana sase dea rr la server e doar al meu dupa ce se da rr se schimba nick la vechiul:| Se poate rezolva cumva :-s? Download : < fara link >
  11. Puteti da TC am rezolvat ms Rock
  12. scz nu am mai gasit unde am postat .MS
  13. [pawn]public OnPlayerConnect(playerid) { new playername2[MAX_PLAYER_NAME]; GetPlayerName(playerid, playername2, sizeof(playername2)); Textdraw54[playerid] = TextDrawCreate(331.000000, 340.000000, " "); // Spectate TextDrawAlignment(Textdraw54[playerid], 2); TextDrawBackgroundColor(Textdraw54[playerid], 255); TextDrawFont(Textdraw54[playerid], 1); TextDrawLetterSize(Textdraw54[playerid], 0.500000, 1.000000); TextDrawColor(Textdraw54[playerid], -1); TextDrawSetOutline(Textdraw54[playerid], 0); TextDrawSetProportional(Textdraw54[playerid], 1); TextDrawSetShadow(Textdraw54[playerid], 0); [/pawn] Uite si comanda /togwhisper [pawn] if(strcmp(cmd, "/togwhisper", true) == 0) { if(IsPlayerConnected(playerid)) { if(PlayerInfo[playerid][pDonateRank] > 0 || PlayerInfo[playerid][pAdmin] > 1) { if (!HidePM[playerid]) { HidePM[playerid] = 1; SendClientMessage(playerid, COLOR_GRAD2, " Whisper chat channel Disabled !"); } else if (HidePM[playerid]) { HidePM[playerid] = 0; SendClientMessage(playerid, COLOR_GRAD2, " Whisper chat channel Enabled !"); } } else { SendClientMessage(playerid, COLOR_GREY, " Not an Admin / Premium Account User !"); return 1; } } return 1; }[/pawn]
  14. Cum fac sa nu se mai blocheze /whisper automat din gm cand intra un player pe sv are /w blocat ... si trb neaparat sa dea /togwhisper cum fac sa nu mai dea ?.Asa imi scrie mereu cand dau /w "That player is blocking whisper" :|
×
×
  • 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.