Jump to content

Mirel

Membru
  • Posts

    34
  • Joined

  • Last visited

    Never

Everything posted by Mirel

  1. Incearc? a?a [pawn] if(strcmp(cmd, "/sellbiz", true) == 0) { if(IsPlayerConnected(playerid)) { GetPlayerName(playerid, playername, sizeof(playername)); if(PlayerInfo[playerid][pPbiskey] == 255) { SendClientMessage(playerid, COLOR_WHITE, "You don't own a bizz."); return 1; } if(PlayerInfo[playerid][pMarried] > 0) { SendClientMessage(playerid, COLOR_GREY, " You are Married, can't sell the House !"); return 1; } if(PlayerInfo[playerid][pPbiskey] >= 100 && strcmp(playername, SBizzInfo[PlayerInfo[playerid][pPbiskey]-100][sbOwner], true) == 0) { Delete3DTextLabel(Text3D:SBizz3D); new bouse = PlayerInfo[playerid][pPbiskey]-100; 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; GivePlayerMoney(playerid,SBizzInfo[bouse][sbTill]); 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; Delete3DTextLabel(Text3D:SBizz3D); OnPropUpdate(); OnPlayerUpdate(playerid); } else { SendClientMessage(playerid, COLOR_WHITE, "You don't own a business."); } if(strcmp(playername, BizzInfo[PlayerInfo[playerid][pPbiskey]][bOwner], true) == 0) { Delete3DTextLabel(Text3D:Bizz3D); 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; Delete3DTextLabel(Text3D:Bizz3D); OnPropUpdate(); OnPlayerUpdate(playerid); } else { SendClientMessage(playerid, COLOR_WHITE, "You don't own a business."); } } return 1; } [/pawn]
  2. Cum pot sa modific in baza de date la sectiunea houses si vehicles?
  3. Mirel

    Pick-up

    Am reusit multumesc!
  4. Mirel

    Pick-up

    Am facut si eu niste pick-upuri in MTA,imi puteti face din ele coduri pawno va rog frumos? [pawn] <pickup id="pickup (Flamethrower) (1)" type="37" interior="0" amount="15" respawn="1" dimension="0" alpha="255" posX="-2668.30005" posY="602.20001" posZ="16.4" rotX="0" rotY="0" rotZ="0"></pickup> <pickup id="pickup (Sniper) (1)" type="34" interior="0" amount="25" respawn="1" dimension="0" alpha="255" posX="-2655" posY="602.40002" posZ="16.4" rotX="0" rotY="0" rotZ="0"></pickup> <pickup id="pickup (health) (2)" type="health" interior="0" amount="100" respawn="1" dimension="0" alpha="255" posX="-2614.30005" posY="603.70001" posZ="15.6" rotX="0" rotY="0" rotZ="0"></pickup> <pickup id="pickup (armor) (1)" type="armor" interior="0" amount="100" respawn="1" dimension="0" alpha="255" posX="-2614.3999" posY="605.79999" posZ="15.6" rotX="0" rotY="0" rotZ="0"></pickup> <pickup id="pickup (Combat Shotgun) (1)" type="27" interior="0" amount="100" respawn="1" dimension="0" alpha="255" posX="-2614.6001" posY="609.90002" posZ="15.6" rotX="0" rotY="0" rotZ="0"></pickup> <pickup id="pickup (AK-47) (1)" type="30" interior="0" amount="25" respawn="1" dimension="0" alpha="255" posX="-2614.30005" posY="614.90002" posZ="15.6" rotX="0" rotY="0" rotZ="0"></pickup> <pickup id="pickup (Katana) (1)" type="8" interior="0" amount="100" respawn="1" dimension="0" alpha="255" posX="-2614.1001" posY="601.79999" posZ="15.3" rotX="0" rotY="0" rotZ="0"></pickup> <pickup id="pickup (Sniper) (2)" type="34" interior="0" amount="25" respawn="1" dimension="0" alpha="255" posX="-2614.30005" posY="612.40002" posZ="15.6" rotX="0" rotY="0" rotZ="0"></pickup> <pickup id="pickup (Deagle) (1)" type="24" interior="0" amount="100" respawn="1" dimension="0" alpha="255" posX="-2614.19995" posY="607.70001" posZ="15.6" rotX="0" rotY="0" rotZ="0"></pickup> <pickup id="pickup (Uzi) (1)" type="28" interior="0" amount="100" respawn="1" dimension="0" alpha="255" posX="-2685.19995" posY="615.29999" posZ="14.1" rotX="0" rotY="0" rotZ="0"></pickup> <pickup id="pickup (Rocket Launcher) (1)" type="35" interior="0" amount="3" respawn="1" dimension="0" alpha="255" posX="-2642.5" posY="568" posZ="48.7" rotX="0" rotY="0" rotZ="0"></pickup> <pickup id="pickup (Rocket Launcher HS) (1)" type="36" interior="0" amount="3" respawn="1" dimension="0" alpha="255" posX="-2684.69995" posY="566.79999" posZ="48.7" rotX="0" rotY="0" rotZ="0"></pickup> [/pawn] S-au datimi un model va rog.Dar vreau sa aiba si timpu de respawn si cantitatea.Va rog frumos
  5. Mirel

    Pickup

    Multumesc,am reusit!
  6. Mirel

    Pickup

    Salut ,exista vreun tutorial care sa-mi spuna cum sa fac pick-upuri stabile (Cand intru in ele sa execute o comanda)?
  7. Ce pacat ca e mysql.e foarte frumos.era si mai frumos daca era SQL sau normal.
  8. Salut! Am GM-ul Critical Stunt si am o problema cu tabelele alea de la comenzile /v /hold (sa iau armele).Apar tabelele si cand apas pe pe ele sau (prev/next) nu se intampla nimic.Am reinoit mSelection.inc,am compilat iar si degeaba:(.Imi puteti spune ce trebuie sa fac
  9. Bravo! Foarte frumos aranjat! Mie imi plac dialogurile colorate,dar numai conteaza:D ;)
  10. Salut am si eu GM-ul SKR si am multe erori.Imi puteti rezolva din ele.Uitati GM-ul: nu avem nevoie de el incearca sa faci singur Uitati Erorile: C:\Users\Mirel\Desktop\Stunt King Romania 0.3e\pawno\include\YSI\y_hooks/impl.inc(1755) : warning 235: public function lacks forward declaration (symbol "OnUnoccupiedVehicleUpdate") C:\Users\Mirel\Desktop\Stunt King Romania 0.3e\pawno\include\YSI\y_hooks/impl.inc(2336) : warning 235: public function lacks forward declaration (symbol "OnPlayerTakeDamage") C:\Users\Mirel\Desktop\Stunt King Romania 0.3e\pawno\include\YSI\y_hooks/impl.inc(2382) : warning 235: public function lacks forward declaration (symbol "OnPlayerGiveDamage") C:\Users\Mirel\Desktop\Stunt King Romania 0.3e\pawno\include\YSI\y_hooks/impl.inc(2624) : warning 219: local variable "race" shadows a variable at a preceding level C:\Users\Mirel\Desktop\Stunt King Romania 0.3e\pawno\include\YSI\y_hooks/impl.inc(2675) : warning 219: local variable "race" shadows a variable at a preceding level C:\Users\Mirel\Desktop\Stunt King Romania 0.3e\pawno\include\YSI\y_hooks/impl.inc(2723) : warning 219: local variable "race" shadows a variable at a preceding level C:\Users\Mirel\Desktop\Stunt King Romania 0.3e\pawno\include\YSI\y_hooks/impl.inc(2771) : warning 235: public function lacks forward declaration (symbol "OnPlayerClickMap") C:\Users\Mirel\Desktop\Stunt King Romania 0.3e\pawno\include\YSI\y_hooks/impl.inc(2817) : warning 235: public function lacks forward declaration (symbol "OnPlayerClickTextDraw") C:\Users\Mirel\Desktop\Stunt King Romania 0.3e\pawno\include\YSI\y_hooks/impl.inc(2861) : warning 235: public function lacks forward declaration (symbol "OnPlayerClickPlayerTextDraw") C:\Users\Mirel\Desktop\Stunt King Romania 0.3e\pawno\include\YSI\y_hooks/impl.inc(2905) : warning 235: public function lacks forward declaration (symbol "OnPlayerEditObject") C:\Users\Mirel\Desktop\Stunt King Romania 0.3e\pawno\include\YSI\y_hooks/impl.inc(2957) : warning 235: public function lacks forward declaration (symbol "OnPlayerEditAttachedObject") C:\Users\Mirel\Desktop\Stunt King Romania 0.3e\pawno\include\YSI\y_hooks/impl.inc(3016) : warning 235: public function lacks forward declaration (symbol "OnPlayerSelectObject") C:\Users\Mirel\Desktop\Stunt King Romania 0.3e\gamemodes\SKR.pwn(934) : error 017: undefined symbol "CreatePlayerTextDraw" C:\Users\Mirel\Desktop\Stunt King Romania 0.3e\gamemodes\SKR.pwn(934) : warning 213: tag mismatch C:\Users\Mirel\Desktop\Stunt King Romania 0.3e\gamemodes\SKR.pwn(935) : error 017: undefined symbol "PlayerTextDrawBackgroundColor" C:\Users\Mirel\Desktop\Stunt King Romania 0.3e\gamemodes\SKR.pwn(936) : error 017: undefined symbol "PlayerTextDrawFont" C:\Users\Mirel\Desktop\Stunt King Romania 0.3e\gamemodes\SKR.pwn(937) : error 017: undefined symbol "PlayerTextDrawLetterSize" C:\Users\Mirel\Desktop\Stunt King Romania 0.3e\gamemodes\SKR.pwn(938) : error 017: undefined symbol "PlayerTextDrawColor" C:\Users\Mirel\Desktop\Stunt King Romania 0.3e\gamemodes\SKR.pwn(939) : error 017: undefined symbol "PlayerTextDrawSetOutline" C:\Users\Mirel\Desktop\Stunt King Romania 0.3e\gamemodes\SKR.pwn(940) : error 017: undefined symbol "PlayerTextDrawSetProportional" C:\Users\Mirel\Desktop\Stunt King Romania 0.3e\gamemodes\SKR.pwn(941) : error 017: undefined symbol "PlayerTextDrawSetSelectable" C:\Users\Mirel\Desktop\Stunt King Romania 0.3e\gamemodes\SKR.pwn(943) : error 017: undefined symbol "CreatePlayerTextDraw" C:\Users\Mirel\Desktop\Stunt King Romania 0.3e\gamemodes\SKR.pwn(943) : warning 213: tag mismatch C:\Users\Mirel\Desktop\Stunt King Romania 0.3e\gamemodes\SKR.pwn(944) : error 017: undefined symbol "PlayerTextDrawBackgroundColor" C:\Users\Mirel\Desktop\Stunt King Romania 0.3e\gamemodes\SKR.pwn(945) : error 017: undefined symbol "PlayerTextDrawFont" C:\Users\Mirel\Desktop\Stunt King Romania 0.3e\gamemodes\SKR.pwn(946) : error 017: undefined symbol "PlayerTextDrawLetterSize" C:\Users\Mirel\Desktop\Stunt King Romania 0.3e\gamemodes\SKR.pwn(947) : error 017: undefined symbol "PlayerTextDrawColor" C:\Users\Mirel\Desktop\Stunt King Romania 0.3e\gamemodes\SKR.pwn(948) : error 017: undefined symbol "PlayerTextDrawSetOutline" C:\Users\Mirel\Desktop\Stunt King Romania 0.3e\gamemodes\SKR.pwn(949) : error 017: undefined symbol "PlayerTextDrawSetProportional" C:\Users\Mirel\Desktop\Stunt King Romania 0.3e\gamemodes\SKR.pwn(950) : error 017: undefined symbol "PlayerTextDrawSetShadow" C:\Users\Mirel\Desktop\Stunt King Romania 0.3e\gamemodes\SKR.pwn(951) : error 017: undefined symbol "PlayerTextDrawUseBox" C:\Users\Mirel\Desktop\Stunt King Romania 0.3e\gamemodes\SKR.pwn(952) : error 017: undefined symbol "PlayerTextDrawBoxColor" C:\Users\Mirel\Desktop\Stunt King Romania 0.3e\gamemodes\SKR.pwn(953) : error 017: undefined symbol "PlayerTextDrawTextSize" C:\Users\Mirel\Desktop\Stunt King Romania 0.3e\gamemodes\SKR.pwn(954) : error 017: undefined symbol "PlayerTextDrawSetSelectable" C:\Users\Mirel\Desktop\Stunt King Romania 0.3e\gamemodes\SKR.pwn(956) : error 017: undefined symbol "CreatePlayerTextDraw" C:\Users\Mirel\Desktop\Stunt King Romania 0.3e\gamemodes\SKR.pwn(956) : warning 213: tag mismatch C:\Users\Mirel\Desktop\Stunt King Romania 0.3e\gamemodes\SKR.pwn(957) : error 017: undefined symbol "PlayerTextDrawBackgroundColor" C:\Users\Mirel\Desktop\Stunt King Romania 0.3e\gamemodes\SKR.pwn(958) : error 017: undefined symbol "PlayerTextDrawFont" C:\Users\Mirel\Desktop\Stunt King Romania 0.3e\gamemodes\SKR.pwn(959) : error 017: undefined symbol "PlayerTextDrawLetterSize" C:\Users\Mirel\Desktop\Stunt King Romania 0.3e\gamemodes\SKR.pwn(960) : error 017: undefined symbol "PlayerTextDrawColor" C:\Users\Mirel\Desktop\Stunt King Romania 0.3e\gamemodes\SKR.pwn(961) : error 017: undefined symbol "PlayerTextDrawSetOutline" Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 26 Errors.
  11. hey,dar cum fac cand dau /vpark sa se salveze in locul acela,nu sa isi schimbe unghiul?
  12. Sincer eu sunt tamaie,vreau sa fac un server sa ma joc cu prietenii.
  13. De sistem de masini are? Cum creez o masina personala
  14. Salut! Am pus serverul pe host ,am facut tabele (baza de date),am schimbat in gamemode datele mysql.Am reinoit toate pluginurile si tot nu merge.Imi da eror 19.Si la gamemode apare Unknow
  15. Tot asa face..spune stop working
  16. I-am facut..degeaba .Daca la tine merge te rog uploadeazal undeva si lasami link.Iti raman recunoscator.
  17. Ma puteti ajuta,va rog
  18. LA sfarsitul GM-ului.Exact la sfarsit
  19. Uite cand dau sa compliez uite ce eroare da
  20. Salut am acest GM: Este foarte foarte frumos,dar nul pot complima si sunt incepator.Va rog frumos. http://www.sa-mp.ro/forum/index.php?topic=26944.0 C:\Users\Mirel\Desktop\Pro-Gaming\gamemodes\PG.pwn(62) : warning 201: redefinition of constant/macro (symbol "COLOR_RED") C:\Users\Mirel\Desktop\Pro-Gaming\gamemodes\PG.pwn(15299) : error 017: undefined symbol "strtok" C:\Users\Mirel\Desktop\Pro-Gaming\gamemodes\PG.pwn(15299) : error 033: array must be indexed (variable "cmd") C:\Users\Mirel\Desktop\Pro-Gaming\gamemodes\PG.pwn(15374) : error 017: undefined symbol "strtok" C:\Users\Mirel\Desktop\Pro-Gaming\gamemodes\PG.pwn(15374) : error 033: array must be indexed (variable "tmp") C:\Users\Mirel\Desktop\Pro-Gaming\gamemodes\PG.pwn(15502) : error 017: undefined symbol "strtok" C:\Users\Mirel\Desktop\Pro-Gaming\gamemodes\PG.pwn(15502) : error 033: array must be indexed (variable "tmp") C:\Users\Mirel\Desktop\Pro-Gaming\gamemodes\PG.pwn(15533) : error 017: undefined symbol "strtok" C:\Users\Mirel\Desktop\Pro-Gaming\gamemodes\PG.pwn(15533) : error 033: array must be indexed (variable "tmp") C:\Users\Mirel\Desktop\Pro-Gaming\gamemodes\PG.pwn(15640) : error 017: undefined symbol "strtok" C:\Users\Mirel\Desktop\Pro-Gaming\gamemodes\PG.pwn(15640) : error 033: array must be indexed (variable "tmp") C:\Users\Mirel\Desktop\Pro-Gaming\gamemodes\PG.pwn(15705) : error 017: undefined symbol "strtok" C:\Users\Mirel\Desktop\Pro-Gaming\gamemodes\PG.pwn(15705) : error 033: array must be indexed (variable "tmp") C:\Users\Mirel\Desktop\Pro-Gaming\gamemodes\PG.pwn(15767) : error 017: undefined symbol "strtok" C:\Users\Mirel\Desktop\Pro-Gaming\gamemodes\PG.pwn(15767) : error 033: array must be indexed (variable "tmp") C:\Users\Mirel\Desktop\Pro-Gaming\gamemodes\PG.pwn(15790) : error 017: undefined symbol "strtok" C:\Users\Mirel\Desktop\Pro-Gaming\gamemodes\PG.pwn(15790) : error 033: array must be indexed (variable "tmp") C:\Users\Mirel\Desktop\Pro-Gaming\gamemodes\PG.pwn(15797) : error 017: undefined symbol "strtok" C:\Users\Mirel\Desktop\Pro-Gaming\gamemodes\PG.pwn(15797) : error 033: array must be indexed (variable "tmp") C:\Users\Mirel\Desktop\Pro-Gaming\gamemodes\PG.pwn(15820) : error 017: undefined symbol "strtok" C:\Users\Mirel\Desktop\Pro-Gaming\gamemodes\PG.pwn(15820) : error 033: array must be indexed (variable "tmp") C:\Users\Mirel\Desktop\Pro-Gaming\gamemodes\PG.pwn(15829) : error 017: undefined symbol "strtok" C:\Users\Mirel\Desktop\Pro-Gaming\gamemodes\PG.pwn(15829) : error 033: array must be indexed (variable "tmp") C:\Users\Mirel\Desktop\Pro-Gaming\gamemodes\PG.pwn(15882) : error 017: undefined symbol "strtok" C:\Users\Mirel\Desktop\Pro-Gaming\gamemodes\PG.pwn(15882) : error 033: array must be indexed (variable "tmp") C:\Users\Mirel\Desktop\Pro-Gaming\gamemodes\PG.pwn(15906) : error 017: undefined symbol "strtok" C:\Users\Mirel\Desktop\Pro-Gaming\gamemodes\PG.pwn(15906) : error 033: array must be indexed (variable "tmp") Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 26 Errors. Va rog mult de tot
  21. Foarte frumos.Ne poti da .pwn de la C.amx?
  22. Mirel

    Problema FS

    Am facut rost de el de la GM-ul Gamelife al lui Darksone cu Deamxx(program),avea o reclama si am vrut so scot.Multumesc ,dar tot da erorile astea: C:\Users\Mirel\Desktop\Gamelife GM\Gamelife GM\Gamelife GM\Gamelife GM\filterscripts\C.pwn(65) : error 025: function heading differs from prototype C:\Users\Mirel\Desktop\Gamelife GM\Gamelife GM\Gamelife GM\Gamelife GM\filterscripts\C.pwn(67) : error 035: argument type mismatch (argument 1) C:\Users\Mirel\Desktop\Gamelife GM\Gamelife GM\Gamelife GM\Gamelife GM\filterscripts\C.pwn(71) : error 035: argument type mismatch (argument 1) C:\Users\Mirel\Desktop\Gamelife GM\Gamelife GM\Gamelife GM\Gamelife GM\filterscripts\C.pwn(75) : error 035: argument type mismatch (argument 1) C:\Users\Mirel\Desktop\Gamelife GM\Gamelife GM\Gamelife GM\Gamelife GM\filterscripts\C.pwn(79) : error 035: argument type mismatch (argument 1) Sincer nici nu stiu ce face.L-am gasit in gamemode si se numeste C=))
×
×
  • 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.