gazzxr
Members-
Posts
15 -
Joined
-
Last visited
Everything posted by gazzxr
-
It can't be scripted ?
-
I think he ment this.
-
is this possible : NPC following you ( something like cops )
-
I don't see a problem with this Embed thing.... and i think its going to be awesome . + for music , also from internet imagine creating a server , and just adding url's to playlist , so when player joins the server he wont be downloading those songs to his PC , just listening via internet! that way you can add unlimited number of songs (URL's) + for videos , not to talk about vids , min video size is 10 mb ( lowest quality ) .... I think you guys can do it
-
Uhhh , then every server i join i will need to download that video , it would be better to just Embed video from youtube into GUI 240x240 Window , or how ever you want it to be wide/high, idk how , but video files , idk what to say... Example "Press F5 to open help window" on help video there would be Embeded video from youtube , so when you click play , only you download needed content from youtube... or any other website... i realy don't know how to explain this... BTW , great idea...
-
hi , take a look at this: function chatBox() rpTeleone1 = createMarker ( -1363.9683837891, 494.1506652832, 11.1953125, "cylinder", 1,0, 255, 255, 255, 255) addEventHandler ( "onMarkerHit", rpTeleone1, onTeleone1Hit ) end addEventHandler("onResourceStart", getResourceRootElement(getThisResource()), chatBox) function onTeleone1Hit ( player ) if source == rpTeleone1 then outputChatBox ( "Sergant P.J: Shit! they called for backup!", player, 0, 255, 255 ) outputChatBox ( "Sergant P.J: We have sent you a helicopter for rescue!", player, 0, 255, 255 ) outputChatBox ( "Sergant P.J: But you must make you're way to the helicopter!", player, 0, 255, 255 ) outputChatBox ( "Sergant P.J: Hurry!", player, 0, 255, 255 ) console ( "npcsparrowgo", player ) end end and this: function setupForRace (NPC) local RacerPed = createPed ( 287, -1252.2747802734, 500.51760864258, 18.16457748131 ) local RaceVehicle = createVehicle ( 469, -1252.2747802734, 500.51760864258, 18.16457748131 ) warpPedIntoVehicle ( RacerPed, RaceVehicle ) end addCommandHandler ( "npcsparrowgo", setupForRace ) ITs all working fine , but , i cant make it when players steps in the marker , to execute command : "npcsparrowgo" tried even outputConsole ( "npcsparrowgo", player )
-
Damn , it does not work. i replaced it , now it looks like --DDC OMG generated script: function omgInit() omg6537 = createObject(8546,-294.5478515625,1006.5712890625,144.27891540527,0,0,0) omgMoveomg6537(1) end function omgMoveomg6537(point) if point == 1 then moveObject(omg6537,250,-294.5478515625,1006.5712890625,150.9789276133,0,0,0) setTimer(omgMoveomg6537,250 + 1500, 1, 2) elseif point == 2 then moveObject(omg6537,250,-294.5478515625,1006,5712890625,144.27891540527,0,0,0) setTimer(omgMoveomg6537,1500,1,1) end end addEventHandler("onResourceStart", getResourceRootElement(getThisResource()), omgInit) ANd yes , it should go back to same point as it started from , at the same speed.
-
Hey , whats up , i'm new , and i'm learning Lua scripting , my 1st mission was to make object go up and down . so i wrote this : --DDC OMG generated script: function omgInit() omg6537 = createObject(8546,-294.5478515625,1006.5712890625,144.27891540527,0,0,0) omgMoveomg6537(1) end function omgMoveomg6537(point) if point == 1 then moveObject(omg6537,250,-294.5478515625,1006.5712890625,150.9789276133,0,0,0) setTimer(omgMoveomg6537,250 + 1500, 1, 2) elseif point == 2 then moveObject(omg6537,250,-294.5478515625,1006,5712890625,144.27891540527,0,0,0) setTimer(omgMoveomg6537,250 + 1500, 1, 2) end end addEventHandler("onResourceStart", getResourceRootElement(getThisResource()), omgInit) and all was OK , then when i started my resource ( script ) object just goes up, then after 1500ms it returns to its normal position . How do i make this loop? up&down?
