Jump to content

waqaarali

Members
  • Posts

    181
  • Joined

  • Last visited

Everything posted by waqaarali

  1. Well i know GTA United is made for GTASA is it possible that somehow we can get this mod onto MTASA ? Please reply this is urgent thank you.
  2. I can't seem to find the answer to 1.), and question 5.) to 6.) there are no TUT's on making roleplay scripts.
  3. Well first can someone answer my questions thanks, 1) How can i like connect client.lua and server.lua, for example if i make a job like taxi and i have team etc on server-side and gui (( Take Job Button etc. )) on client-side how can i make this work so if i press the button it will set me to the team? 2) What's the different between "source" and/or "player" or "thePlayer"? Ok now some tips, 3) Does "==" mean equal and "~=" doesn't equal? 4) I can make some basic things how can i get even more advanced? 5) If i like want to start on a roleplay project from scratch involving sql and database stuff how/ where do i start? 6) I saw some roleplay scripts that have, export.?? which is connected to a Database how can i make scripts like that, or if there are any TUT's please give me links? Thank you guys and members on MTA SA. I really appreciate your help.
  4. So what shall i do ? It don't work
  5. Can you explain to me why it's like this ~= and why it's player and not source and what''s the difference between them.
  6. Well i took advice to give a script a try and don't give up i actually got to somewhere ;D but i have a few errors now i tried to solve it but i could'nt here it is, --- Server Side --- local busMarker = createMarker(1813.21045, -1900.71777, 12.57342, "cylinder", 1, 255, 255, 255) local busBlip = createBlip(1778.73706, -1907.69165, 13.38839,56) local busTeam = createTeam("Bus Drivers", 0, 255, 0) function onMarkerHit(source) if source == busMarker then setPlayerTeam ( source, busTeam ) end end addEventHandler( "onMarkerHit", busMarker, onMarkerHit ) When i walk to the marker i don't be set to the team for some reason and another thing if i make client side script and server side script how can i like other scripters do and connect both scripts somehow like getRootElement client side or something if you understand.
  7. When people click on the buttons i want people to spawn to there .
  8. Well i read MTA SA Scripting Wiki 500 times and i try stuff out but i am such a big noob that i still can't get it to work, can someone give me some tips to learn scripting quickly ? I been trying to script for the last 2 years but it didn't work out for me, I tried to make a script again for the last time but it still didn't work i wanted to make a simple Spawn GUI but i failed again please someone help me to learn scripting, Client Side resourceSpawn = getResourceRootElement() function showMain( theResource ) mainwindow = guiCreateWindow(236, 197, 405, 296, "", false) guiWindowSetSizable(mainwindow, false) hospital = guiCreateButton(18, 42, 117, 43, "Hospital", false, mainwindow) police = guiCreateButton(18, 104, 117, 43, "Police Department", false, mainwindow) cityhall = guiCreateButton(18, 168, 117, 43, "City Hall", false, mainwindow) ammunation = guiCreateButton(18, 234, 117, 43, "Ammunation", false, mainwindow) memo = guiCreateMemo(143, 43, 252, 234, "Welcome to Gangsta's Paradise Roleplay Server. Before you can start playing please select one of the positions you would like to spawn. Remember once you have spawned you cannot then come back to this window unless you die. So make a wise choice before you spawn.\n\n\n\n\nSpawn Script By Gangsta v1 ", false, mainwindow) guiMemoSetReadOnly(memo, true) showCursor ( true ) end addEventHandler("onClientResourceStart", getResourceRootElement(getThisResource()), showMain)
  9. I really want to learn to script, but I don't really understand what I do wrong and how to script, I understand how to fix scripts but I don't know how to script. I tried to make a simple spawn script but I failed to even make the GUI to work. spawn.lua rootElement = getRootElement() function showMain() mainwindow = guiCreateWindow(236, 197, 405, 296, "", true) guiWindowSetSizable(mainwindow, false) hospital = guiCreateButton(18, 42, 117, 43, "Hospital", true, mainwindow) police = guiCreateButton(18, 104, 117, 43, "Police Department", true, mainwindow) cityhall = guiCreateButton(18, 168, 117, 43, "City Hall", true, mainwindow) ammunation = guiCreateButton(18, 234, 117, 43, "Ammunation", true, mainwindow) memo = guiCreateMemo(143, 43, 252, 234, "Welcome to Gangsta's Paradise Roleplay Server. Before you can start playing please select one of the positions you would like to spawn. Remember once you have spawned you cannot then come back to this window unless you die. So make a wise choice before you spawn.\n\n\n\n\nSpawn Script By Gangsta v1 ", true, mainwindow) guiMemoSetReadOnly(memo, true) end addEventHandler("onClientPlayerJoin", rootElement, showMain) meta.xml <meta> <info author="Gangsta" type="script" description="Spawn" /> <script src="spawn.lua" /> </meta>
  10. Guys i don't own this company. : P And i don't want to make a new company!
  11. Thanks for letting us know what happened to EdiServers, atleast now we know the truth, also i am looking foward to this new IntroNet thing, it looks awesome.
  12. Well i don't know why people are telling lies about my hosting company -.-
  13. You never asked me anything because as soon as i opened my test server my friend was on there and it is not a VPS -.- and if you don't buy i don't really care because i have 3 people who are already hosting at my place.
  14. I am making a site don't worry this was just of what i was thinking of on the site there will be the original prices and details Thanks for the reply
  15. Fixed FTP too so PM me if you want to purchase i am still making our site
×
×
  • Create New...