Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

newshift

Uživatel
  • Příspěvků

    53
  • Registrován

  • Aktivní

Reputace

0 Na nule

About newshift

  • Moto
    Dwaine
  • Narozeniny 23.5.1996
  1. hoši ale ja to uš davno mam jinak a jede my to v poho CMD:majitel(playerid,params[]) { SendClientMessage(playerid,0x33FF00,"*****************"); SendClientMessage(playerid,0xB8860B,"Majitel:Newshift."); SendClientMessage(playerid,0x99FF00,"*****************"); return 1; } CMD:o(playerid, params[]) { MoveObject(test, -2127.2000000, -81.3000000, 29.2000000, 3); SendClientMessage(playerid, 0x00800000,"** Brana je Otevrena **"); return 1; } CMD:z(playerid, params[]) { MoveObject(test, -2127.2000000, -81.3000000, 38.2000000, 3); SendClientMessage(playerid, 0xFF000000 ,"** Brana je Zavrena **"); return 1; } CMD:teleport(playerid, params[]) { GameTextForPlayer(playerid, "Test! Alone !!!!",4000,6); SetPlayerPos(playerid, -2123.4724,-63.9519,35.3203); return 1; } CMD:thelp(playerid, params[]) { SendClientMessage(playerid, 0x33AA33AA , "/o = otevrit branu 1"); SendClientMessage(playerid, 0x33AA33AA , "/z = zavrit branu 1"); SendClientMessage(playerid, 0x33AA33AA , "/teleport = portnuti na misto!"); return 1; }
  2. děkuji mockrat ! bez tebe bych byl nekde
  3. a fakt tomu rozumim twl ja to neumim kdybych to umel tak sem nepisu
  4. // This is a comment // uncomment the line below if you want to write a filterscript //#define FILTERSCRIPT new test; #include <a_samp> #include <zcmd> #define FARBA_0 0xFF0000FF #define FARBA_1 0xFF1100FF #define FARBA_2 0xFF2200FF #define FARBA_3 0xFF3300FF #define FARBA_4 0xFF4400FF #define FARBA_5 0xFF5500FF #define FARBA_6 0xFF6600FF #define FARBA_7 0xFF7700FF #define FARBA_8 0xFF8800FF #define FARBA_9 0xFF9900FF #define FARBA_10 0xFFAA00FF #define FARBA_11 0xFFBB00FF #define FARBA_12 0xFFCC00FF #define FARBA_13 0xFFDD00FF #define FARBA_14 0xFFEE00FF #define FARBA_15 0xFFFF00FF #define FARBA_16 0xEEFF00FF #define FARBA_17 0xDDFF00FF #define FARBA_18 0xCCFF00FF #define FARBA_19 0xBBFF00FF #define FARBA_20 0xAAFF00FF #define FARBA_21 0x99FF00FF #define FARBA_22 0x88FF00FF #define FARBA_23 0x77FF00FF #define FARBA_24 0x66FF00FF #define FARBA_25 0x55FF00FF #define FARBA_26 0x44FF00FF #define FARBA_27 0x33FF00FF #define FARBA_28 0x22FF00FF #define FARBA_29 0x11FF00FF #define FARBA_30 0x00FF00FF #define FARBA_31 0x00FF11FF #define FARBA_32 0x00FF22FF #define FARBA_33 0x00FF33FF #define FARBA_34 0x00FF44FF #define FARBA_35 0x00FF55FF #define FARBA_36 0x00FF66FF #define FARBA_37 0x00FFAAFF #define FARBA_38 0x00FFBBFF #define FARBA_39 0x00FFCCFF #define FARBA_40 0x00FFDDFF #define FARBA_41 0x00FFEEFF #define FARBA_42 0x00FFFFFF #define FARBA_43 0x00EEFFFF #define FARBA_44 0x00DDFFFF #define FARBA_45 0x00CCFFFF #define FARBA_46 0x00BBFFFF #define FARBA_47 0x00AAFFFF #define FARBA_48 0x0099FFFF #define FARBA_49 0x0088FFFF #define FARBA_50 0x0077FFFF #define FARBA_51 0x0066FFFF #define FARBA_52 0x0055FFFF #define FARBA_53 0x0044FFFF #define FARBA_54 0x0033FFFF #define FARBA_55 0x0022FFFF #define FARBA_56 0x0011FFFF #define FARBA_57 0x0000FFFF #define FARBA_58 0x1100FFFF #define FARBA_59 0x2200FFFF #define FARBA_60 0x3300FFFF #define FARBA_61 0x4400FFFF #define FARBA_62 0x5500FFFF #define FARBA_63 0x6600FFFF #define FARBA_64 0x7700FFFF #define FARBA_65 0x8800FFFF #define FARBA_66 0x9900FFFF #define FARBA_67 0xAA00FFFF #define FARBA_68 0xBB00FFFF #define FARBA_69 0xCC00FFFF #define FARBA_70 0xDD00FFFF #define FARBA_71 0xEE00FFFF #define FARBA_72 0xFF00FFFF #define FARBA_73 0xFF00EEFF #define FARBA_74 0xFF00DDFF #define FARBA_75 0xFF00CCFF #define FARBA_76 0xFF00BBFF #define FARBA_77 0xFF00AAFF #define FARBA_78 0xFF0099FF #define FARBA_79 0xFF0088FF #define FARBA_80 0xFF0077FF #define FARBA_81 0xFF0066FF #define FARBA_82 0xFF0055FF #define FARBA_83 0xFF0044FF #define FARBA_84 0xFF0033FF #define FARBA_85 0xFF0022FF #define FARBA_86 0xFF0011FF #define FARBA_87 0x000000FF #define FARBA_88 0x111111FF #define FARBA_89 0x222222FF #define FARBA_90 0x333333FF #define FARBA_91 0x444444FF #define FARBA_92 0x555555FF #define FARBA_93 0x666666FF #define FARBA_94 0x777777FF #define FARBA_95 0x888888FF #define FARBA_96 0x999999FF #define FARBA_97 0xAAAAAAFF #define FARBA_98 0xBBBBBBFF #define FARBA_99 0xCCCCCCFF #define FARBA_100 0xDDDDDDFF #define FARBA_101 0xEEEEEEFF #if defined FILTERSCRIPT public OnFilterScriptInit() { print("\n--------------------------------------"); print(" Blank Filterscript by your name here"); print("--------------------------------------\n"); return 1; } public OnFilterScriptExit() { return 1; } #else main() { print("\n----------------------------------"); print(" na serveru je test mod od newshift"); print("----------------------------------\n"); } #endif public OnGameModeInit() { // Don't use these lines if it's a filterscript SetGameModeText("TestMod by newshift"); //hotel CreateObject(996,-1756.1000000,939.0999800,24.6000000,0.0000000,0.0000000,0.0000000); //object(lhouse_barrier1) (1) CreateObject(996,-1748.0000000,939.0999800,24.6000000,0.0000000,0.0000000,0.0000000); //object(lhouse_barrier1) (5) CreateObject(2773,-1759.3020000,962.5739700,24.4000000,0.0000000,0.0000000,0.0000000); //object(cj_airprt_bar) (1) CreateObject(2773,-1759.3179900,960.2819800,24.4000000,0.0000000,0.0000000,0.0000000); //object(cj_airprt_bar) (3) CreateObject(2773,-1759.2869900,958.0210000,24.4000000,0.0000000,0.0000000,0.0000000); //object(cj_airprt_bar) (4) CreateObject(2773,-1755.9941000,962.5107400,24.4000000,0.0000000,0.0000000,0.0000000); //object(cj_airprt_bar) (5) CreateObject(2773,-1752.4680200,962.4990200,24.4000000,0.0000000,0.0000000,0.0000000); //object(cj_airprt_bar) (6) CreateObject(2773,-1748.6120600,962.5980200,24.4000000,0.0000000,0.0000000,0.0000000); //object(cj_airprt_bar) (7) CreateObject(2773,-1748.6000000,960.2999900,24.4000000,0.0000000,0.0000000,0.0000000); //object(cj_airprt_bar) (5) CreateObject(2773,-1748.6000000,958.0000000,24.4000000,0.0000000,0.0000000,0.0000000); //object(cj_airprt_bar) (5) CreateObject(996,-1764.0000000,939.0999800,24.6000000,0.0000000,0.0000000,0.0000000); //object(lhouse_barrier1) (1) CreateObject(996,-1768.9000000,939.0999800,24.6000000,0.0000000,0.0000000,0.0000000); //object(lhouse_barrier1) (1) CreateObject(1215,-1757.0000000,934.0000000,24.3000000,0.0000000,0.0000000,0.0000000); //object(bollardlight) (1) //hotel AddPlayerClass(0, -1955, 300, 35, 269.1425, 0, 0, 0, 0, 0, 0); //vozidla AddStaticVehicleEx(522,-1974.5000000,270.7000100,34.8000000,0.0000000,37,37,15); //NRG-500 AddStaticVehicleEx(520,-1986.1000000,258.1000100,36.1000000,0.0000000,-1,-1,15); //Hydra AddStaticVehicleEx(425,-1985.4000000,303.6000100,36.0000000,90.0000000,95,10,15); //Hunter AddStaticVehicleEx(432,-1989.2000000,273.7999900,35.3000000,86.0000000,95,10,15); //Rhino AddStaticVehicleEx(562,-1991.2000000,266.7000100,34.9000000,88.0000000,6,37,1); //Elegy AddStaticVehicleEx(510,-1973.8000000,265.3999900,34.9000000,0.0000000,95,10,15); //Mountain Bike //hotel AddStaticVehicleEx(507,-1783.2000000,929.2999900,24.8000000,0.0000000,6,161,40); //Elegant //hotel //objekty CreateObject(672,-1976.9000000,208.3999900,26.4000000,0.0000000,0.0000000,125.9970000); //object(sm_veg_tree5) (1) //hotel CreateObject(996,-1756.1000000,939.0999800,24.6000000,0.0000000,0.0000000,0.0000000); //object(lhouse_barrier1) (1) CreateObject(996,-1748.0000000,939.0999800,24.6000000,0.0000000,0.0000000,0.0000000); //object(lhouse_barrier1) (5) CreateObject(2773,-1759.3020000,962.5739700,24.4000000,0.0000000,0.0000000,0.0000000); //object(cj_airprt_bar) (1) CreateObject(2773,-1759.3179900,960.2819800,24.4000000,0.0000000,0.0000000,0.0000000); //object(cj_airprt_bar) (3) CreateObject(2773,-1759.2869900,958.0210000,24.4000000,0.0000000,0.0000000,0.0000000); //object(cj_airprt_bar) (4) CreateObject(2773,-1755.9941000,962.5107400,24.4000000,0.0000000,0.0000000,0.0000000); //object(cj_airprt_bar) (5) CreateObject(2773,-1752.4680200,962.4990200,24.4000000,0.0000000,0.0000000,0.0000000); //object(cj_airprt_bar) (6) CreateObject(2773,-1748.6120600,962.5980200,24.4000000,0.0000000,0.0000000,0.0000000); //object(cj_airprt_bar) (7) CreateObject(2773,-1748.6000000,960.2999900,24.4000000,0.0000000,0.0000000,0.0000000); //object(cj_airprt_bar) (5) CreateObject(2773,-1748.6000000,958.0000000,24.4000000,0.0000000,0.0000000,0.0000000); //object(cj_airprt_bar) (5) CreateObject(996,-1764.0000000,939.0999800,24.6000000,0.0000000,0.0000000,0.0000000); //object(lhouse_barrier1) (1) CreateObject(996,-1768.9000000,939.0999800,24.6000000,0.0000000,0.0000000,0.0000000); //object(lhouse_barrier1) (1) CreateObject(1215,-1757.0000000,934.0000000,24.3000000,0.0000000,0.0000000,0.0000000); //object(bollardlight) (1) //hotel //test test = CreateObject(2990,-2127.2000000,-81.3000000,38.2000000,0.0000000,0.0000000,180.0000000); //brana zavrena //Test return 1; } public OnGameModeExit() { return 1; } public OnPlayerRequestClass(playerid, classid) { SetPlayerPos(playerid, -1955, 300, 35); SetPlayerCameraPos(playerid, 1958.3783, 1343.1572, 15.3746); SetPlayerCameraLookAt(playerid, 1958.3783, 1343.1572, 15.3746); return 1; } public OnPlayerConnect(playerid) { //smazane objecty RemoveBuildingForPlayer(playerid, 792, -1994.8599, 297.91293, 34.21462, 6.231205); RemoveBuildingForPlayer(playerid, 672, -1989.5312, 317.38281, 34.01563, 11.469559); // SendClientMessage(playerid, 0xFFFFFFFF, "{FF7F00}[ newshiftMOD ] {FFFFFF}vytej na serveru na kterym testuju svuj gamemod"); return 1; } public OnPlayerDisconnect(playerid, reason) { return 1; } public OnPlayerSpawn(playerid) { return 1; } public OnPlayerDeath(playerid, killerid, reason) { return 1; } public OnVehicleSpawn(vehicleid) { return 1; } public OnVehicleDeath(vehicleid, killerid) { return 1; } public OnPlayerText(playerid, text[]) { return 1; } public OnPlayerCommandText(playerid, cmdtext[]) { } CMD:majitel(playerid,params[]) { SendClientMessage(playerid,0x33FF00,"*****************"); SendClientMessage(playerid,0xB8860B,"Majitel:Newshift."); SendClientMessage(playerid,0x99FF00,"*****************"); return 1; } if(strcmp("/otevrit",cmdtext,true)) { MoveObject(test, -2127.2000000, -81.3000000, 29.2000000, 1); SendClientMessage(playerid, 0x00800000,"** Brana je otevrena."); return 1; } if(!strcmp("/zavrit", cmdtext, true)) { MoveObject(test, -2127.2000000, -81.3000000, 38.2000000, 1); SendClientMessage(playerid, 0xFF000000 ,"** Brana je zavrena."); return 1; } return 1; } public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger) { return 1; } public OnPlayerExitVehicle(playerid, vehicleid) { return 1; } public OnPlayerStateChange(playerid, newstate, oldstate) { return 1; } public OnPlayerEnterCheckpoint(playerid) { return 1; } public OnPlayerLeaveCheckpoint(playerid) { return 1; } public OnPlayerEnterRaceCheckpoint(playerid) { return 1; } public OnPlayerLeaveRaceCheckpoint(playerid) { return 1; } public OnRconCommand(cmd[]) { return 1; } public OnPlayerRequestSpawn(playerid) { return 1; } public OnObjectMoved(objectid) { return 1; } public OnPlayerObjectMoved(playerid, objectid) { return 1; } public OnPlayerPickUpPickup(playerid, pickupid) { return 1; } public OnVehicleMod(playerid, vehicleid, componentid) { return 1; } public OnVehiclePaintjob(playerid, vehicleid, paintjobid) { return 1; } public OnVehicleRespray(playerid, vehicleid, color1, color2) { return 1; } public OnPlayerSelectedMenuRow(playerid, row) { return 1; } public OnPlayerExitedMenu(playerid) { return 1; } public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid) { return 1; } public OnPlayerKeyStateChange(playerid, newkeys, oldkeys) { return 1; } public OnRconLoginAttempt(ip[], password[], success) { return 1; } public OnPlayerUpdate(playerid) { return 1; } public OnPlayerStreamIn(playerid, forplayerid) { return 1; } public OnPlayerStreamOut(playerid, forplayerid) { return 1; } public OnVehicleStreamIn(vehicleid, forplayerid) { return 1; } public OnVehicleStreamOut(vehicleid, forplayerid) { return 1; } public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]) { return 1; } public OnPlayerClickPlayer(playerid, clickedplayerid, source) { return 1; } C:\Users\Kateřina\Downloads\03z\pawno\newshiftmod.pwn(250) : error 010: invalid function or declaration C:\Users\Kateřina\Downloads\03z\pawno\newshiftmod.pwn(254) : error 010: invalid function or declaration C:\Users\Kateřina\Downloads\03z\pawno\newshiftmod.pwn(257) : error 010: invalid function or declaration C:\Users\Kateřina\Downloads\03z\pawno\newshiftmod.pwn(261) : error 010: invalid function or declaration C:\Users\Kateřina\Downloads\03z\pawno\newshiftmod.pwn(263) : error 010: invalid function or declaration C:\Users\Kateřina\Downloads\03z\pawno\newshiftmod.pwn(181) : warning 204: symbol is assigned a value that is never used: "test" Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 5 Errors.
  5. a fakt tomu rozumim neumi to
  6. ahoj mam taky problem skoušim Gate pohyblivou takže moveobject na přikaz ale jak sem to dodělal a chtěl dat compile vyleťelo C:\Users\*******\Downloads\03z\pawno\newshiftmod.pwn(250) : error 010: invalid function or declaration C:\Users\*******\Downloads\03z\pawno\newshiftmod.pwn(253) : error 010: invalid function or declaration C:\Users\*******\Downloads\03z\pawno\newshiftmod.pwn(256) : error 010: invalid function or declaration C:\Users\*******\Downloads\03z\pawno\newshiftmod.pwn(259) : error 010: invalid function or declaration C:\Users\*******\Downloads\03z\pawno\newshiftmod.pwn(181) : warning 204: symbol is assigned a value that is never used: "test" Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 4 Errors. 250. if(strcmp(cmd, "/otevrit", true) == 0) { 251. MoveObject(test, -2127.2000000, -81.3000000, 29.2000000, 1); 252. SendClientMessage(playerid, ~g~,"** Brana je otevrena."); 253. return 1; 254. } 256. if(strcmp(cmd, "/zavrit", true) == 0) { 257. MoveObject(test, -2127.2000000, -81.3000000, 38.2000000, 1); 258. SendClientMessage(playerid, ~r~,"** Brana je zavrena."); 259. return 1; 181 test = CreateObject(2990,-2127.2000000,-81.3000000,38.2000000,0.0000000,0.0000000,180.0000000); //brana zavrena
×
×
  • Create New...