-
Posts
4,144 -
Joined
-
Last visited
-
Days Won
1
Everything posted by dzek (varez)
-
remove gta_sa.set from My Documents\GTA San Andreas User Files
-
omg...... my fault... i was searching for that in servers resources ahh, too much thinking
-
still the same.. i tried without full path.. the same
-
[Outdated] Unofficial MTA Script Editor 0.3 (4851) RELEASED!
dzek (varez) replied to 50p's topic in Scripting
50p, when will be next version released? -
acl.xml
-
i just started having fun with xml, and faced one problem: my resource name "xmlsave" local main = xmlCreateFile(":xmlsave/vvv.xml", "xml") local cp = xmlCreateChild(main, "checkpoint") outputChatBox(tostring(xmlNodeSetAttribute(cp, "pp", "xx"))) outputChatBox(tostring(xmlSaveFile(main))) outputChatBox(tostring(xmlUnloadFile(main))) everything is true, no errors in debugscript, no file in resource folder.
-
i dont need a sync here, just want to create a projectile, that will explode just for one player, nobody else should see it.
-
Blame ZModeler developers. well, zmodeler isnt that bad.. but i couldnt call it good.. and probably im lame, not zmodeler
-
Hmm, my friend's new GPU (but overclocked ) was burned not on the newest game on max detail, but in MTA Map Editor What do you mean, you "can't see any explosion"? Molotov projectiles should create an explosion. ok, i think i figured it out.. when you set as creator ped that was created server side, the explosion dont show up.. thats why i was trying to create explosion "manually".. if i set creator to local player everything is ok! and if you create ped clientside, and set him as creator, everything is ok too edit: okay, what can be creator of projectile if not local player (as i dont want to sync the projectile)? getRootElement() fails
-
well, its something like that, but somehow i cant do it
-
test it without editor
-
robhol, why you didnt tell me that i have a bug in my 2 lines long script? i just discovered it.. its fixed now.. anyway,that wasnt a reason for crash Jason
-
if rotate1 and rotate1 is defined, all should be ok, i didnt test it, did you? just test it:)
-
Hi I've got one big model, that i want to split into some parts, becouse its too big.. I just forgot how to use Zanoza Modeller yet, and my tries to remember failed.. Any of you knows how to do it? Easy few steps. I tried to register on Z3D forums, but i'm awaiting [manual] activation for about 2 months now oh, and this shouldn't be in scripting.. but im not sure where to put it.. mods, feel free to move
-
ok, better example function localPlayerDied() outputChatBox("you died") end function somebodyDied() outputChatBox(getPlayerName(source)).." died") end addEventHandler("onClientPlayerWasted", getLocalPlayer(), localPlayerDied) addEventHandler("onClientPlayerWasted", getRootElement(), somebodyDied) save that script, run a server with it, run the script, invite somebody to your server, and try it.. you will see the difference easy
-
maybe.. but custom scripting could lag game easly even if game have milion things more to do i'll give it a try, but i shouldnt think molotov projectile hit makes a explosion (as i dont see any) what??
-
you want to make transparent banner? for transparency model must be set as trasparent one (afair), and transparency goes into another bmp file about the crash: im gonna follow my steps now and try to replace on billboard
-
no, all the things you are doing on client side script is working only for one player (client).. 2nd script will be changing weather only for client, when any player spawn 1st script should (theoretically) change weather only for the client, on that client/local player spawn
-
hmm.. so im still waiting for ideas i think..
-
1. will work only when spawn is do AFTER client download resources.. and if it work, it will work only once, when local player spawn 2. will be runned every time ANY player spawn. read about client-side and server-side scripts https://wiki.multitheftauto.com/wiki/Main_Page check Scripting section
-
get MTA Script Editor, it will catch some of your errors (syntax errors).. in that 3 lines script, "end" is not needed.. you shold "end" loops, functions, etc
-
oh, i think this could be too hard for him!! [read his other posts if you dont know what im talking about] I'm Just not a GEEK like you ! well, if i see the search form, i just fill it, and press "search".. you dont.. robhol, your posts are so random
-
last one you have to create object via script, or at least get your object from the game, which probably be harder to do for you.. and if you need object moving more than once, you need few lines of script, not just once.. search, there was another topic like that few days ago
-
hehe, 1st you told me that this will be CPU consuming (indeed), now you are changing your mind you removed your idea bout attaching another element (you told bout vehicles ) to it.. well, i think thats not a bad idea, i'll try to attach a very small object and on projectile remove ill check the object position, then remove the object.. hope this will work fine.. im waiting for another ideas anyway
-
oh, i think this could be too hard for him!! [read his other posts if you dont know what im talking about]
