Jump to content

Steve_Rogerzz

Members
  • Posts

    9
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Steve_Rogerzz's Achievements

Newbie

Newbie (4/54)

0

Reputation

  1. Hi , um I found this script https://community.multitheftauto.com/index.php?p=resources&s=details&id=7185 which links mta and discord and i dont understand how to install this , so maybe i was hoping anyone would help me pls thanks
  2. Hi , I have a Character Customisation script and when i start the script in LocalHost[Windows] it is working perfectly with few errors but that doesnt affect anything , but when i start the same script in multiplayer Host[GNU/Linux] , it is showing more additional errors like this (first 5 lines convert to utf8 from ansi , but this error didnt come in localhost) [I Dont know in which section to post cuz i am a newbie , so sorry]
  3. If a player is inside a range then script executes else end , but i dont know how to make a script like that
  4. I need to make it a 5 min delay with settimer and loop the "Robbing the Money" here is the script which i modified -- 1352 , -1769 , 14 function storerob() --if x <= 1356 and x >= 1348 then --if y <= -1773 and y >= -1765 then --outputChatBox("you are here ", player, 0, 0, 0) --------------------------------------------------------------------------------------------- outputChatBox(" ", root, 0, 0, 0) outputChatBox("-----------------------------------------------------", root, 255, 0, 0) outputChatBox("[ALERT] Someone has breaked the Locker in Store !!", root, 255, 0, 0) outputChatBox("-----------------------------------------------------", root, 255, 0, 0) outputChatBox(" ", root, 0, 0, 0) --------------------------------------------------------------------------------------------- function loope(player) outputChatBox("Robbing the money ...", player, 0, 255, 0) end setTimer(loope, 1000, 29) --------------------------------------------------------------------------------------------- function money2(player) money = math.random(200000, 400000) givePlayerMoney( player, money ) outputChatBox(" ", player, 0, 0, 0) outputChatBox("------------------------------------------------------", player, 0, 255, 0) outputChatBox("You got $"..money.." by robbing a Store !! ", player, 0, 255, 0) outputChatBox("------------------------------------------------------", player, 0, 255, 0) outputChatBox(" ", player, 0, 0, 0) givePlayerMoney( player, money ) end --------------------------------------------------------------------------------------------- setTimer( money2, 30000, 1 ) --else --outputChatBox("You are not Near the Locker !!", player, 255, 0, 0) --end --else --outputChatBox("You are not Near the Locker !!", player, 255, 0, 0) --end end addCommandHandler("robstore", storerob)
  5. I need to make it a 5 min delay with settimer and loop the "Robbing the Money" here is the script which i modified -- 1352 , -1769 , 14 function storerob() --if x <= 1356 and x >= 1348 then --if y <= -1773 and y >= -1765 then --outputChatBox("you are here ", player, 0, 0, 0) --------------------------------------------------------------------------------------------- outputChatBox(" ", root, 0, 0, 0) outputChatBox("-----------------------------------------------------", root, 255, 0, 0) outputChatBox("[ALERT] Someone has breaked the Locker in Store !!", root, 255, 0, 0) outputChatBox("-----------------------------------------------------", root, 255, 0, 0) outputChatBox(" ", root, 0, 0, 0) --------------------------------------------------------------------------------------------- function loope(player) outputChatBox("Robbing the money ...", player, 0, 255, 0) end setTimer(loope, 1000, 29) --------------------------------------------------------------------------------------------- function money2(player) money = math.random(200000, 400000) givePlayerMoney( player, money ) outputChatBox(" ", player, 0, 0, 0) outputChatBox("------------------------------------------------------", player, 0, 255, 0) outputChatBox("You got $"..money.." by robbing a Store !! ", player, 0, 255, 0) outputChatBox("------------------------------------------------------", player, 0, 255, 0) outputChatBox(" ", player, 0, 0, 0) givePlayerMoney( player, money ) end --------------------------------------------------------------------------------------------- setTimer( money2, 30000, 1 ) --else --outputChatBox("You are not Near the Locker !!", player, 255, 0, 0) --end --else --outputChatBox("You are not Near the Locker !!", player, 255, 0, 0) --end end addCommandHandler("robstore", storerob)
  6. -- 1352 , -1769 , 14 function storerob() --if x <= 1356 and x >= 1348 then --if y <= -1773 and y >= -1765 then --outputChatBox("you are here ", player, 0, 0, 0) function announce() --------------------------------------------------------------------------------------------- outputChatBox(" ", root, 0, 0, 0) outputChatBox("-----------------------------------------------------", root, 255, 0, 0) outputChatBox("[ALERT] Someone has breaked the Locker in Store !!", root, 255, 0, 0) outputChatBox("-----------------------------------------------------", root, 255, 0, 0) outputChatBox(" ", root, 0, 0, 0) --------------------------------------------------------------------------------------------- end function loope() outputChatBox("Robbing the money ...", player, 0, 255, 0) end --------------------------------------------------------------------------------------------- function money2() money = math.random(200000, 400000) givePlayerMoney( player, money ) outputChatBox(" ", player, 0, 0, 0) outputChatBox("------------------------------------------------------", player, 0, 255, 0) outputChatBox("You got $"..money.." by robbing a Store !! ", player, 0, 255, 0) outputChatBox("------------------------------------------------------", player, 0, 255, 0) outputChatBox(" ", player, 0, 0, 0) givePlayerMoney( player, money ) end --------------------------------------------------------------------------------------------- announce() loope() money2() --else --outputChatBox("You are not Near the Locker !!", player, 255, 0, 0) --end --else --outputChatBox("You are not Near the Locker !!", player, 255, 0, 0) --end end addCommandHandler("robstore", storerob)
×
×
  • Create New...