
MasterTobi
Members-
Posts
78 -
Joined
-
Last visited
Everything posted by MasterTobi
-
hey, first sry for my english i have a tool to hack/cheat in mta and samp so i hacked on my server money, my player become the money and the game or mta set my money to the orginal value. is that a coincidence? or is that intended ? if is intended then it is worth anti-hack itself script to script ?
-
btw the mta server don´t run on x64 systems
-
btw the mta server don´t run on x64 systems
-
hey community i search a function to get the weaponmodelid in any slot and the weaponammo i searched in wiki but I did not find nothing can everybody help me pls thx sry formy bad english edit stop i find it sry for post getPlayerAmmoInClip getPlayerWeapon
-
hey @ all if have a Problem with createRadarArea i created an Area like LS =createRadarArea (-905.5929,-2933.0986,4000,3500,255,255,255,100,source) if I am in the area and type my Command /test then I get the expenditure "no" LS =createRadarArea (-905.5929,-2933.0986,4000,3500,255,255,255,100,source) function Zonen(source) local posX, posY,posz = getElementPosition(source) if (isInsideRadarArea(LS,posX, posY )) then outputChatBox("jo") else outputChatBox("nö") end end addCommandHandler("test",Zonen) if i press F11 to see the Map, i see the Area over LS and I am in the AREA i need help, can somebody help me sry for my bad english
-
BIG THX @ALL but you are the best @ dak =)
-
hey my Code: function test() account = getClientAccount (source) Job = getAccountData (account,"Job") Team = getAccountData (account, "Team") end setTimer(test,10000,1) now if the function start then i have the following error : Bad Argument @ 'getClientAccount --line3 Bad Argument @ 'getClientAccount --line4 where is the problem ? thx
-
BIG THX im so stupid, i´m ever forget to insert <> the var value -.- THX
-
Hey i have two Teams (Team1 and Team2). Everyone of these Team is reported to have a NRG. But, Team1 is not permitted to drive the NRG from Team2 and Team2 is not permitted to drive the NRG from Team1. one can make one beside the vehicle ID carid ? also Vehicle ID = 454 and carid = 1 ? thx Tobi
-
hey How can I check if there's a truck trailer on the truck thx
-
hm when i have money = 100.000 and i take from me 110.000 then i have 0000000000 and not - 10.000 hm but when in the function stands --Playermoney = 100.000 test = getPlayerMoney(player) money = test - 110.000 then is my money 0000000 not -10.000
-
hey my question is : with which function one gets red pays when i takemoney from my player then it goes in each case to 000000, not -1000000 help me pls
-
Hey I am on look for one script, where one can buy cars as well as KIHC << this is good can you help me thx
-
oh i dont understand you can you give me the complet code , pls thx
-
hm i´m a stupid -.- function hey(source,command,parameter) outputChatBox("Player 1 say: "print(table.concat(parameter, " ")),source) 1 Error argument #1 to 'concat' (table expected, got string)
-
Hey i have a porblem the code: function hey(source,command,parameter) outputChatBox("Player 1 say: "parameter,source) end addCommandHandler("live",live) if i type /hey test test test test in the Chatbox then comes in the Chatbox test and not test test test test i have to change the function to function hey(source,command,parameter,parameter2,parameter3,parameter4) but this is f**k if i type more dann parameter4 also /hey 1 2 3 4 5 then comes Player 1 say : 1 2 3 4 and i need the 1 2 3 4 in one parameter this goes??? i hope you understand me i´m a german player thx MasterTobi
-
ok i have it local textDisplay = textCreateDisplay () local textItem = textCreateTextItem ( "Test", 0.5, 0.5, 2, 255, 100, 50, 255, 4, "center", "center" ) textDisplayAddText ( textDisplay, textItem ) textDisplayAddObserver ( textDisplay, source) setTimer ( textDestroyTextItem, 5000, 1, textItem ) setTimer ( textDestroyDisplay, 5000, 1, textDisplay )
-
hey i have a question as one can spend a text in the center of the screen ? thx Tobi
-
ok thx i will test it which is differentiates between client and SOURCE thx tobi
-
hey, I have a problem. if I enter /test in the Chatbox then I want in chatbox " test" stands however only for me. in this example (server side) it gives for all " test" out function test(client) outputChatBox ("test",client) end addCommandHandler("test",test) as I can make it, which he spends it only on me Thx tobi
-
oh okey thank xou very much its perfekt
-
hey my prob is: function Jobjoin(client) if (client) then if (getElementPosition(client) == getElementPosition(createColCircle (1647.2434,-1815.3563,10)) )then outputChatBox ("ok",client ) end end end addCommandHandler ( "enter", Jobjoin) when i in the circle and type /enter then they dont outputChatBox ("ok",client )
-
hmhmhmhmhmhm i changed it now, but if I log in he does not take over it from that account.acl function onPlayerQuit ( ) -- when a player leaves, store his current money amount in his account data local playeraccount = getClientAccount ( source ) if ( playeraccount ) then local playermoney = getPlayerMoney ( source ) setAccountData ( playeraccount, "money", playermoney ) end end function onPlayerJoin ( ) -- when a player joins, retrieve his money amount from his account data and set it local playeraccount = getClientAccount ( source ) if ( playeraccount ) then local playermoney = getAccountData ( playeraccount, "money" ) if ( playermoney ) then setPlayerMoney ( source, playermoney ) end end end addEventHandler ( "onPlayerQuit", getRootElement ( ), onPlayerQuit ) addEventHandler ( "onPlayerJoin", getRootElement ( ), onPlayerJoin ) this does not function someone can help me
-
yes i know i closed the server always then i edit account.acl