Jump to content

Don.Capone

Membru
  • Posts

    582
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by Don.Capone

  1. ma doaree burta la cat am ras =))) pai daca dau nota maxima nu mai ai aceeasi vointa sa faci tot mai bine.
  2. ba voi chiar sunteti inculti sau nu vedeti de ochi ? cauta ma ca a facut stuntman unul
  3. Salut din nou, am o intrebare ? esti prost ? dece nu cauti inainte sa intrebi ? te doare mana ?
  4. nu ai #include <junkbuster>
  5. intre #define si new este o totala diferenta. nu ai cum sa spui ca te-ai incurcat )
  6. =)) cum sa pui asa ceva ? #define este pentru includeuri si altceva. ca sa definesti ispassenger trebuie sa pui cu [pawn]new ispassenger;[/pawn]
  7. iti spune unkown la la mod pentru ca nu ai bagat in server.cfg toate pluginurile cu extensia .so nu .dll asta doar daca il bagi pe host daca il tii in pc pune toate pluginurile si punele extensia .dll
  8. http://www.astahost.com/info/ttltl-sample-cnf-mysql-configuration-file-startup.html sau http://forum.sa-mp.com/showthread.php?t=284531 sper ca te ajuta :D
  9. cu ce driftezi ? si cum reusesti sa ti masina la viteza constanta in curbe ?
  10. si nici nu ai bagat intre [pawn*][/pawn*] fara *
  11. uite de exemplu eu o sa faca pentru prima data un server roleplay nu gf. si as vrea sa stiu cum fac prima factiune.
  12. probabil nu ai bagat tu ceva bine.
  13. este unul dintre cele mai folositoare tutoriale pentru rp/gf dar ai trebuii sa adaugi si cum sa faci prima factiune nu doar sa adaugi una dupa celelalte adica sa spui unde trebuie sa mergem si pasii ca sa creem prima factiune.
  14. cel mai probabil ai bulit placa video
  15. iara ati inceput cu teleporturi ?
  16. hmm mai frate daca merge ce problema aveti voi ? sa va vad pe voi ca faceti asa ceva cu o mie de optiuni si prostii in el. nu are multe in fs dar are tot ce trebuie. bravo 4/5
  17. http://forum.sa-mp.com/showthread.php?t=320614
  18. este din cauza ca la sfarsit ai acolo [pawn]return 1; } SendClientMessage(playerid,COLOR_GREY, "SERVER: You have Typed An Unknown Command, Type /help or /atalk if you need Help!"); return 1; }[/pawn] iti da eroarea unreachable code deoarece ai pus return 1 si ai pus dupa aceea iara return 1 incearca asa:[pawn] if(strcmp(cmd, "/contract", true) == 0) { if(IsPlayerConnected(playerid)) { tmp = strtok(cmdtext, idx); if(!strlen(tmp)) { SendClientMessage(playerid, COLOR_GRAD1, "USAGE: /contract [playerid/PartOfName] [amount]"); return 1; } giveplayerid = ReturnUser(tmp); tmp = strtok(cmdtext, idx); if(!strlen(tmp)) { SendClientMessage(playerid, COLOR_GRAD1, "USAGE: /contract [playerid/PartOfName] [amount]"); return 1; } moneys = strval(tmp); if(moneys < 1000 || moneys > 1000000) { SendClientMessage(playerid, COLOR_GREY, " Contract money must be atleast $1000, and not more then $1000000!"); return 1; } if(PlayerInfo[playerid][pLevel] < 2) { SendClientMessage(playerid, COLOR_GRAD1, "You must be level 2 to place a Contract."); return 1; } if (IsPlayerConnected(giveplayerid)) { if(giveplayerid != INVALID_PLAYER_ID) { if(PlayerInfo[giveplayerid][pMember] == 8 && PlayerInfo[playerid][pMember] == 8) { SendClientMessage(playerid, COLOR_GREY, "* Cannot place Contracts on your own Agency!"); return 1; } else if(PlayerInfo[giveplayerid][pLeader] == 8 && PlayerInfo[playerid][pMember] == 8) { SendClientMessage(playerid, COLOR_GREY, "* Cannot place Contracts on your own Agency!"); return 1; } else if(PlayerInfo[giveplayerid][pMember] == 8||PlayerInfo[giveplayerid][pLeader] == 8) { SendClientMessage(playerid, COLOR_GREY, "* Can't contract a Hitman !"); return 1; } if(PlayerInfo[playerid][pAdmin] == 1) { SendClientMessage(playerid, COLOR_GREY, "* You may not place a contract on admin/testers on duty"); return 1; } if(IsACop(giveplayerid) && moneys < 30000) { SendClientMessage(playerid, COLOR_GREY, "* Only $30000 or above can be placed as a Contract on Cops !"); return 1; } if(giveplayerid == playerid) { SendClientMessage(playerid, COLOR_GREY, "* You cannot Contract yourself!"); return 1; } GetPlayerName(giveplayerid, giveplayer, sizeof(giveplayer)); playermoney = GetPlayerMoney(playerid); if (moneys > 0 && playermoney >= moneys) { SafeGivePlayerMoney(playerid, (0 - moneys)); PlayerInfo[giveplayerid][pHeadValue]+=moneys; format(string, sizeof(string), "%s has placed a contract on %s, for $%d.",sendername, giveplayer, moneys); SendFamilyMessage(8, COLOR_YELLOW, string); format(string, sizeof(string), "* You placed a contract on %s, for $%d.",giveplayer, moneys); SendClientMessage(playerid, COLOR_WHITE, string); format(string, sizeof(string), "[iNFO]: %s (%d) has placed a contract on %s (%d) for $%d", sendername, playerid, giveplayer,giveplayerid, moneys); SendAdminMessage(COLOR_YELLOW,string); SendClientMessage(giveplayerid, COLOR_LIGHTBLUE, "* Someone has placed a hit contract on you, you might want protection!"); PlayerPlaySound(playerid, 1052, 0.0, 0.0, 0.0); } else { SendClientMessage(playerid, COLOR_GRAD1, " Invalid transaction amount."); } } } else { format(string, sizeof(string), " %d is not an active player.", giveplayerid); SendClientMessage(playerid, COLOR_GRAD1, string); } else { SendClientMessage(playerid,COLOR_GREY, "SERVER: You have Typed An Unknown Command, Type /help or /atalk if you need Help!"); return 1; } [/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.