-
Posts
4,144 -
Joined
-
Last visited
-
Days Won
1
Everything posted by dzek (varez)
-
you have to re-draw it using dx functions
-
okay, ill make one tommorow (if i success, but i think i will, as im some kind of computer wizard )
-
trigger event handler to server, then server should kick player
-
first of all, you must STOP the server, then modify ACL, then start server..
-
resintall mta, wherever you want, and be sure to specify correct path to GTA SAN ANDREAS (something like: C:\Program Files\Steam\steamapps\common\grand theft auto san andreas) edit: i just bought gta classics from steam, so ill try it too
-
Question related to setPedFrozen server/client side.
dzek (varez) replied to Dreft's topic in Scripting
if you will freeze ped just for one player, others will be seeing it as it is for ped syncer.., and that one guy you change it for, will be see that ped "jumping" etc.. becouse game will try to sync it, and froze at the same time .... someting like that but i dont understand why you want to do it.. -
i think he fixed my little typo
-
read this one: https://forum.multitheftauto.com/viewtop ... 51&start=0 there should be something about that.. afaik, steam version sometimes like not to work with mta
-
works? well, there was a bug in line 4 look at my post above
-
you cant just change that one letter, to be recognized as commands.. you have to use "onPlayerChat" event, then check if his/her msg starts with "!" and after theres command you want to handle, then handle it.. (and cancell onPlayerChat event) you will have to rewrite all addCommandHandler from all scripts.. for my opinion -> this is stupid.
-
start your resource?
-
you have to modify "race" resource destructionderby.lua file: --add this at the beggining of file: addEvent("onPlayerDestructionDerbyWin") --and somewhere near line 87 (im not sure this) -- just after: -- showMessage(getPlayerName(activePlayers([1])) .. ' is the final survivor!', 0, 255, 0) -- add: triggerEvent("onPlayerDestructionDerbyWin", getRootElement(), activePlayers[1]) then your script should look like: addEvent("onPlayerDestructionDerbyWin",true) addEventHandler("onPlayerDestructionDerbyWin",getRootElement(), function (winner) givePlayerMoney(winner, 350) -- there was a "bug" (used "winer" instead of "winner") end ) ps. i didnt test it
-
Do you have any proof of him stealing? cause i dint saw any topic of him with any client side script. https://forum.multitheftauto.com/viewtop ... 91&t=27260 https://forum.multitheftauto.com/viewtop ... 91&t=27259 (one topic about same problem, of writing server-side to his stolen clientside looks to be deleted?) he's hobby is creating many topics about same problem, he dont like to learn lua at all https://forum.multitheftauto.com/viewtop ... 91&t=27345 https://forum.multitheftauto.com/viewtop ... 91&t=27113 https://forum.multitheftauto.com/viewtop ... 91&t=27234 https://forum.multitheftauto.com/viewtop ... 91&t=27225 (there is 4 topics about it) and he's rude (as you can see above) still cant learn to use at least lua tags, (that couldnt be so hard, if he can find resources folder and copy and paste script on forums!?) etc etc..
-
heh, it could be a bug also, but personally i never got any problem with that.. after reconnecting - it stay, after server restart it stay, after server crash it stay too..
-
this is wrong.. you closed the replace that line with <script src="racewin.lua" type="server" />
-
this should work, are you sure you added it correctly,on the server side?
-
well, this on not LINE.. not one.. you wanna learn scripting or do us the job for you (i think if you choose 2nd answer noone will do it)?
-
test it without map editor.. save, then start a local server and play there was some topics about that bug.
-
not sure is tha a question rly, but they suport only wave height changing, thats it i did that question becouse Mac_Johnson won't be playing MTA, just using Map Editor for converting to samp. And we better should tell him that he can't add water in samp, so his tryings are worthless
-
oh, sorry, wrong, i wasnt using mysql for some time, and i was writing it from memory here's part of my script: local sQuery = "SELECT cash FROM players WHERE login='"..accName.."' LIMIT 1" local oResult = mysql_query(oDb, sQuery) if (oResult) then local numRows = mysql_num_rows(oResult) if (numRows >= 1) then while true do local row = mysql_fetch_assoc(oResult) if (not row) then break end -- here you "start" getting values outputChatBox(row['cash']) end else return nil end end try this, modify it before;p
-
local getSiteInfoDatabase = mysql_query( connect_mysql, "SELECT * FROM `messages` WHERE `to`='"..userName.."' " ) theReciever = mysql_fetch_assoc( getSiteInfoDatabase ) --subject = theReciever['title'] for theReciever,subject in ipairs(theReciever) do outputChatBox( subject['title'] ) end
-
yea, sweet, lovely and great.. you your idea will stay just idea i think.. like one million ideas that already died, becouse everybody only have their ideas.. thats all i wanted to say
-
nope... messages will stay there, even after server restart
-
COOKIE2 replied, and liked it.. better release it until he stole your client-side from that server that's running this, and then post "problem" on scripting that its not working
-
interiors, new-mabako-services, any many others are using that without any problems.. so i bet theres a problem with your script, sorry i dont have time for analizing now
