Jump to content

Patricl0n

Uživatel
  • Příspěvků

    22
  • Registrován

  • Aktivní

Reputace

0 Na nule

About Patricl0n

  • Moto
    Jonny Sindacco
  1. pomoc Warpy system

    Myslim že mne tam chyby že když klinknu na tu položku že se stane .........
  2. pomoc Warpy system

    vEnd: Tak udělam souhrn, už je skoro vše opraveno ale když dam /warps tak se mi zobrazi dialog a tam mam Los Santos,San Fiero a Las Venturas a když kliknu na jedno stoho tak se mi zavře dialog Jinak chcu poděkovat Danielovy že se pokoušel mi to spravit
  3. pomoc Warpy system

    Je hodny a važim si že někoho že mi aspoň někdo poradí a nepíše hovadiny do komentařu chcu vidět začatniky, jak se hned za den nauči pawno jak Atomas, vend atd... , a skoušim spravovat sam.
  4. pomoc Warpy system

    Jo žadny errory ani waringy nejsou ale když dam /warps otevře se dialog a když kliknu na Los Santos tak se zavře dialog jinak jo ti 2 new pak použíju.
  5. pomoc Warpy system

    už jsem daval tab ale mam tam {a} parovy ale prostě mi ti errory a waringy mam na: řadek: 252 - return 0; řadek : 253 - } Nechapu co je na tom špatně
  6. pomoc Warpy system

    PS: Jestli nechcete poradit tak nepište
  7. pomoc Warpy system

    Já nevím sám co to jsou za errory proto chcu pomoc. Nebo jak ti to mam vysvětlit?
  8. pomoc Warpy system

    Dal jsem tam: #pragma tabsize 0 a odstranil jsem :new Float:pos[3]; new car; A už mně tam vyletělo: C:\Users\Patrik\Desktop\Patricl0n\WarpsSystem.pwn(252) : error 002: only a single statement (or expression) can follow each "case" C:\Users\Patrik\Desktop\Patricl0n\WarpsSystem.pwn(252) : warning 215: expression has no effect C:\Users\Patrik\Desktop\Patricl0n\WarpsSystem.pwn(253) : warning 209: function "OnDialogResponse" should return a value Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error. Tak kdyby si s tim někdo věděl byl bych moc rad.
  9. pomoc [HELP] Warp system

    Udelal sem si to nějak po sobě a udělal jsem 1 errror a několik waringu. :\Users\Patrik\Desktop\WarpsSystem.pwn(250) : warning 217: loose indentation C:\Users\Patrik\Desktop\WarpsSystem.pwn(253) : error 002: only a single statement (or expression) can follow each "case" C:\Users\Patrik\Desktop\WarpsSystem.pwn(253) : warning 215: expression has no effect C:\Users\Patrik\Desktop\WarpsSystem.pwn(254) : warning 209: function "OnDialogResponse" should return a value C:\Users\Patrik\Desktop\WarpsSystem.pwn(255) : warning 203: symbol is never used: "car" C:\Users\Patrik\Desktop\WarpsSystem.pwn(255) : warning 203: symbol is never used: "pos" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error. //$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$// // // // Warps by Patricl0n v.3 // // // //$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$// // Include #include <a_samp> // Define #define dialog_warpy 500 //Define Color #define COLOR_WHITE 0xFFFFFFFF #define COLOR_GREEN 0x22FF00FF #define COLOR_RED 0xFF0000FF //Define Color #define Bila "{FFFFFF}" #define Bežova "{FFDC80}" #define Zluta "{FFFF00}" #define TZluta "{FFCE00}" #define Oranzova "{FF9900}" #define SRuzova "{FF8090}" #define Ruzova "{FF0080}" #define Cervena "{FF0000}" #define Fialova "{8C50FF}" #define SZelena "{00FF00}" #define Zelena "{008C00}" #define SModra "{00FFFF}" #define Modra "{0A46FF}" #define Seda "{888888}" //New new Float:pos[3]; new car; PlayerName(playerid) { new name[20]; GetPlayerName(playerid,name,20); return name; } public OnPlayerSpawn(playerid) { SetPlayerPos(playerid, 1038.0546,1032.9006,11.0000); SetPlayerFacingAngle(playerid, 311.1212); return 1; } public OnPlayerConnect(playerid) { SendClientMessage(playerid,COLOR_WHITE,"{FF0000}[ Warp System ]{FFFFFF} Server používá Warp System v.3 by {FFFF00}Patricl0n{FFFFFF} [/Warps]"); return 1; } public OnPlayerCommandText(playerid, cmdtext[]) { if(!strcmp(cmdtext, "/warps", true)) { ShowPlayerDialog(playerid, dialog_warpy, DIALOG_STYLE_LIST, "Warpy", "Los Santos\nSan Fierro\nLas Venturas", "Vybrat", "Zavřít"); return 1; } return 0; } public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]) { switch(dialogid) { case dialog_warpy: { if(response) { switch(listitem) { case 0: ShowPlayerDialog(playerid, dialog_warpy+1, DIALOG_STYLE_LIST, "Warpy - Los Santos", "Los Santos\nUřad LS\nTunning LS\nMrakodrap\nGrove Street\nBallas\nAztecas\nVagos", "Vybrat", "Zavřít"); case 1: ShowPlayerDialog(playerid, dialog_warpy+2, DIALOG_STYLE_LIST, "Warpy - San Fierro", "San Fiera\nUrad SF\nTunning SF\nWangs Cars\nOtto Cars", "Vybrat", "Zavřít"); case 2: ShowPlayerDialog(playerid, dialog_warpy+3, DIALOG_STYLE_LIST, "Warpy - Las Venturas", "Las Venturas\nUrad LV\nTunning LV", "Vybrat", "Zavřít"); } } return 1; } case dialog_warpy+1: { if(response) { switch(listitem) { case 0: { if(IsPlayerInAnyVehicle(playerid)) SetVehiclePos(GetPlayerVehicleID(playerid),1777.5620,-1695.6482,13.4699); else SetPlayerPos(playerid,1777.5620,-1695.6482,13.4699); new str[128]; format(str,sizeof(str),"{FF0000}[ ! ]{FFFFFF} Hráč {00FF00}%s{FFFFFF} se teleportoval do Los Santos",PlayerName(playerid)); SendClientMessageToAll(-1,str); return 1; } case 1: { if(IsPlayerInAnyVehicle(playerid)) SetVehiclePos(GetPlayerVehicleID(playerid),1723.0045,-1627.6743,20.2128); else SetPlayerPos(playerid,1723.0045,-1627.6743,20.2128); new str[128]; format(str,sizeof(str),"{FF0000}[ ! ]{FFFFFF} Hráč {00FF00}%s{FFFFFF} se teleportoval na Uřad v Los Santos",PlayerName(playerid)); SendClientMessageToAll(-1,str); return 1; } case 2: { if(IsPlayerInAnyVehicle(playerid)) SetVehiclePos(GetPlayerVehicleID(playerid),2647.8149,-2003.6581,13.3828); else SetPlayerPos(playerid,2647.8149,-2003.6581,13.3828); new str[128]; format(str,sizeof(str),"{FF0000}[ ! ]{FFFFFF} Hráč {00FF00}%s{FFFFFF} se teleportoval do Tunning Garaže v Los Santos",PlayerName(playerid)); SendClientMessageToAll(-1,str); return 1; } case 3: { if(IsPlayerInAnyVehicle(playerid)) SetVehiclePos(GetPlayerVehicleID(playerid),1544.8025,-1352.9573,329.4749); else SetPlayerPos(playerid,1544.8025,-1352.9573,329.4749); new str[128]; format(str,sizeof(str),"{FF0000}[ ! ]{FFFFFF} Hráč {00FF00}%s{FFFFFF} se teleportoval na Mrakodrap v Los Santos",PlayerName(playerid)); SendClientMessageToAll(-1,str); return 1; } case 4: { if(IsPlayerInAnyVehicle(playerid)) SetVehiclePos(GetPlayerVehicleID(playerid),2493.9626,-1668.6128,13.3438); else SetPlayerPos(playerid,2493.9626,-1668.6128,13.3438); new str[128]; format(str,sizeof(str),"{FF0000}[ ! ]{FFFFFF} Hráč {00FF00}%s{FFFFFF} se teleportoval na Grove Street v Los Santos",PlayerName(playerid)); SendClientMessageToAll(-1,str); return 1; } case 5: { if(IsPlayerInAnyVehicle(playerid)) SetVehiclePos(GetPlayerVehicleID(playerid),2223.7793,-1164.7506,25.7331); else SetPlayerPos(playerid,2223.7793,-1164.7506,25.7331); new str[128]; format(str,sizeof(str),"{FF0000}[ ! ]{FFFFFF} Hráč {00FF00}%s{FFFFFF} se teleportoval k Gangu Ballas v Los Santos",PlayerName(playerid)); SendClientMessageToAll(-1,str); return 1; } case 6: { if(IsPlayerInAnyVehicle(playerid)) SetVehiclePos(GetPlayerVehicleID(playerid),1883.7229,-2044.8148,13.3828); else SetPlayerPos(playerid,1883.7229,-2044.8148,13.3828); new str[128]; format(str,sizeof(str),"{FF0000}[ ! ]{FFFFFF} Hráč {00FF00}%s{FFFFFF} se teleportoval k Gangu Aztecas v Los Santos",PlayerName(playerid)); SendClientMessageToAll(-1,str); return 1; } case 7: { if(IsPlayerInAnyVehicle(playerid)) SetVehiclePos(GetPlayerVehicleID(playerid),2362.6848,-1161.4586,27.6253); else SetPlayerPos(playerid,2362.6848,-1161.4586,27.6253); new str[128]; format(str,sizeof(str),"{FF0000}[ ! ]{FFFFFF} Hráč {00FF00}%s{FFFFFF} se teleportoval k Gangu Vagos v Los Santos",PlayerName(playerid)); SendClientMessageToAll(-1,str); return 1; } } } return 1; } case dialog_warpy+2: { if(response) { switch(listitem) { case 8: { if(IsPlayerInAnyVehicle(playerid)) SetVehiclePos(GetPlayerVehicleID(playerid),-1926.3779,572.9505,35.1719); else SetPlayerPos(playerid,-1926.3779,572.9505,35.1719); new str[128]; format(str,sizeof(str),"{FF0000}[ ! ]{FFFFFF} Hráč {00FF00}%s{FFFFFF} se teleportoval do San Fiera",PlayerName(playerid)); SendClientMessageToAll(-1,str); return 1; } case 9: { if(IsPlayerInAnyVehicle(playerid)) SetVehiclePos(GetPlayerVehicleID(playerid),-1611.1088,716.4878,12.9885); else SetPlayerPos(playerid,-1611.1088,716.4878,12.9885); new str[128]; format(str,sizeof(str),"{FF0000}[ ! ]{FFFFFF} Hráč {00FF00}%s{FFFFFF} se teleportoval na Uřad v San Fieru",PlayerName(playerid)); SendClientMessageToAll(-1,str); return 1; } case 10: { if(IsPlayerInAnyVehicle(playerid)) SetVehiclePos(GetPlayerVehicleID(playerid),-2696.9194,218.0981,4.1797); else SetPlayerPos(playerid,-2696.9194,218.0981,4.1797); new str[128]; format(str,sizeof(str),"{FF0000}[ ! ]{FFFFFF} Hráč {00FF00}%s{FFFFFF} se teleportoval do Tunning Garaže v San Fiero",PlayerName(playerid)); SendClientMessageToAll(-1,str); return 1; } case 11: { if(IsPlayerInAnyVehicle(playerid)) SetVehiclePos(GetPlayerVehicleID(playerid),-1979.3955,280.1875,35.1794); else SetPlayerPos(playerid,-1979.3955,280.1875,35.1794); new str[128]; format(str,sizeof(str),"{FF0000}[ ! ]{FFFFFF} Hráč {00FF00}%s{FFFFFF} se teleportoval do Wangs Cars v San Fiero",PlayerName(playerid)); SendClientMessageToAll(-1,str); return 1; } case 12: { if(IsPlayerInAnyVehicle(playerid)) SetVehiclePos(GetPlayerVehicleID(playerid),-1634.6942,1201.0123,7.1797); else SetPlayerPos(playerid,-1634.6942,1201.0123,7.1797); new str[128]; format(str,sizeof(str),"{FF0000}[ ! ]{FFFFFF} Hráč {00FF00}%s{FFFFFF} se teleportoval do Otto Cars v San Fiero",PlayerName(playerid)); SendClientMessageToAll(-1,str); return 1; } } } return 1; } case dialog_warpy+3: { if(response) { switch(listitem) { case 13: { if(IsPlayerInAnyVehicle(playerid)) SetVehiclePos(GetPlayerVehicleID(playerid),2132.2202,1433.2367,10.8203); else SetPlayerPos(playerid,2132.2202,1433.2367,10.8203); new str[128]; format(str,sizeof(str),"{FF0000}[ ! ]{FFFFFF} Hráč {00FF00}%s{FFFFFF} se teleportoval do Las Venturas",PlayerName(playerid)); SendClientMessageToAll(-1,str); } case 14: { if(IsPlayerInAnyVehicle(playerid)) SetVehiclePos(GetPlayerVehicleID(playerid),2434.5295,1123.7059,10.8203); else SetPlayerPos(playerid,2434.5295,1123.7059,10.8203); new str[128]; format(str,sizeof(str),"{FF0000}[ ! ]{FFFFFF} Hráč {00FF00}%s{FFFFFF} se teleportoval na Uřad v Las Venturas",PlayerName(playerid)); SendClientMessageToAll(-1,str); } case 15: { if(IsPlayerInAnyVehicle(playerid)) SetVehiclePos(GetPlayerVehicleID(playerid),2386.0574,1008.7895,10.8203); else SetPlayerPos(playerid,2386.0574,1008.7895,10.8203); new str[128]; format(str,sizeof(str),"{FF0000}[ ! ]{FFFFFF} Hráč {00FF00}%s{FFFFFF} se teleportoval do Tunning Garaže v Las Venturas",PlayerName(playerid)); SendClientMessageToAll(-1,str); } } return 1; } } return 0; } PS: Prominte že to neni v BB code neumim to
  10. pomoc Warpy system

    Popis problému: Dobry den ,mam problem s 1 error a několik waringu C:\Users\Patrik\Desktop\WarpsSystem.pwn(250) : warning 217: loose indentation C:\Users\Patrik\Desktop\WarpsSystem.pwn(253) : error 002: only a single statement (or expression) can follow each "case" C:\Users\Patrik\Desktop\WarpsSystem.pwn(253) : warning 215: expression has no effect C:\Users\Patrik\Desktop\WarpsSystem.pwn(254) : warning 209: function "OnDialogResponse" should return a value C:\Users\Patrik\Desktop\WarpsSystem.pwn(255) : warning 203: symbol is never used: "car" C:\Users\Patrik\Desktop\WarpsSystem.pwn(255) : warning 203: symbol is never used: "pos" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 1 Error. Chyby/varování kompilátoru a při běhu: -- Kód: Dodatečné poznámky: --
  11. pomoc [HELP] Warp system

    Jo a ted mi tam skláče 1 error C:\Users\Patrik\Desktop\Server\filterscripts\Warpy_System v2.pwn(75) : error 001: expected token: "#endif", but found "-end of file-" a v prvnim řadku mam---> #include <a_samp> a v druhym řadku mam---> #if defined FILTERSCRIPT
  12. pomoc Nwm

    Ja jsem skopiroval admin script a mam tam nevim co to je #include <dudbas> a mam 1 error: C:\Users\Patrik\Desktop\Server\filterscripts\Admin_System.pwn(5) : fatal error 100: cannot read from file: "dudbas" Dopředu diki za radu.
  13. Dobry den potřeboval bych pomoc s problémy něco jsem vyřešil a na něco jsem ani nepochopil . C:\Users\Patrik\Desktop\Server\filterscripts\LRG2.pwn(46) : warning 219: local variable "File" shadows a variable at a preceding level C:\Users\Patrik\Desktop\Server\filterscripts\LRG2.pwn(47) : warning 219: local variable "name" shadows a variable at a preceding level C:\Users\Patrik\Desktop\Server\filterscripts\LRG2.pwn(240) : error 029: invalid expression, assumed zero C:\Users\Patrik\Desktop\Server\filterscripts\LRG2.pwn(240 -- 241) : warning 215: expression has no effect C:\Users\Patrik\Desktop\Server\filterscripts\LRG2.pwn(241) : error 001: expected token: ";", but found "if" C:\Users\Patrik\Desktop\Server\filterscripts\LRG2.pwn(241) : warning 217: loose indentation C:\Users\Patrik\Desktop\Server\filterscripts\LRG2.pwn(249) : error 017: undefined symbol "P" C:\Users\Patrik\Desktop\Server\filterscripts\LRG2.pwn(249) : error 029: invalid expression, assumed zero C:\Users\Patrik\Desktop\Server\filterscripts\LRG2.pwn(249) : error 017: undefined symbol "ihl" C:\Users\Patrik\Desktop\Server\filterscripts\LRG2.pwn(249) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 6 Errors. Dopředu diki za pomoc.
  14. pomoc [HELP] Warp system

    vEnd a ti vis co stim?
  15. pomoc Chýba Pawno

    sscanf2 muzeš stahnout jako pluigi a to dalsi nwm co znamena doufam ze jsem pomohl
×