Jump to content

subenji99

Members
  • Posts

    264
  • Joined

  • Last visited

Everything posted by subenji99

  1. This post is why you get a friend who knows some English to help you type your post rather than use Google Translate. I agree with robhol. Memory could not be "read" errors in MTA are typically outdated dependencies. Check your drivers and DirectX 9, and check to make sure the Visual C++ Runtime installed correctly. No idea how much of that he will understand, but I don't know much French.
  2. subenji99

    3bugs

    You may have your "x" button bound to another command as well then.
  3. subenji99

    3bugs

    You may have your "x" button bound to another command as well then.
  4. 50p didn't make that very clear so I'll just elaborate here - getPlayerAccount will never fail to return an account as long as a valid player element is passed to it. However, anyone that is not logged in has a guest account. Data is never permanently saved to a guest account, (erased when the player quits) and cannot be retrieved on a later connect. That's why 50p is recommending you check isGuestAccount.
  5. 50p didn't make that very clear so I'll just elaborate here - getPlayerAccount will never fail to return an account as long as a valid player element is passed to it. However, anyone that is not logged in has a guest account. Data is never permanently saved to a guest account, (erased when the player quits) and cannot be retrieved on a later connect. That's why 50p is recommending you check isGuestAccount.
  6. subenji99

    3bugs

    Yes. List of command strings the admin resource uses (so avoid these to prevent it throwing warnings): "
  7. subenji99

    3bugs

    Yes. List of command strings the admin resource uses (so avoid these to prevent it throwing warnings): <player> <command handler="kick" call="kick" args="P,s" /> <command handler="ban" call="ban" args="P,s" /> <command handler="shout" call="shout" args="P,s" /> <command handler="freeze" call="freeze" args="P" /> <command handler="unfreeze" call="freeze" args="P" /> <command handler="mute" call="mute" args="P" /> <command handler="unmute" call="mute" args="P" /> <command handler="sethealth" call="sethealth" args="P,i" /> <command handler="sethp" call="sethealth" args="P,i" /> <command handler="setarmour" call="setarmour" args="P,i" /> <command handler="setarmor" call="setarmour" args="P,i" /> <command handler="setskin" call="setskin" args="P,i" /> <command handler="setstat" call="setstat" args="P,i,i" /> <command handler="setteam" call="setteam" args="P,T" /> <command handler="setinterior" call="setinterior" args="P,i" /> <command handler="setdimension" call="setdimension" args="P,i" /> <command handler="jetpack" call="jetpack" args="P" /> <command handler="givevehicle" call="givevehicle" args="P,i" /> <command handler="giveweapon" call="giveweapon" args="P,i,i" /> <command handler="slap" call="slap" args="P,i" /> <command handler="warpto" call="warp" args="P" /> </player> <team> <command handler="createteam" call="createteam" args="s,i,i,i" /> <command handler="destroyteam" call="destroyteam" args="s,i,i,i" /> </team> <vehicle> <command handler="repair" call="repair" args="P" />" <command handler="addupgrade" call="customize" args="P,t-" /> <command handler="addupgrades" call="customize" args="P,t-" /> <command handler="setpaintjob" call="setpaintjob" args="P,i" /> <command handler="setcolor" call="setcolor" args="P,t-" /> <command handler="blowvehicle" call="blow" args="P" /> <command handler="destroyvehicle" call="destroyvehicle" args="P" /> </vehicle> <server> <command handler="setgame" call="setgame" args="s-" /> <command handler="setgametype" call="setgame" args="s-" /> <command handler="setmap" call="setmap" args="s-" /> <command handler="setmapname" call="setmap" args="s-" /> <command handler="settime" call="settime" args="i,i" /> <command handler="setwelcome" call="setwelcome" args="s-" /> <command handler="setpassword" call="setpassword" args="s" /> <command handler="setweather" call="setweather" args="i" /> <command handler="blendweather" call="blendweather" args="i" /> <command handler="setgamespeed" call="setgamespeed" args="i" /> <command handler="setgravity" call="setgravity" args="i" /> </server> <bans> <command handler="banip" call="banip" args="s" /> <command handler="banserial" call="banserial" args="s" /> <command handler="unbanip" call="unbanip" args="s" /> <command handler="unbanserial" call="unbanserial" args="s" /> </bans>
  8. subenji99

    3bugs

    That "error" (actually a warning) is because the stinger resource uses a command name identical to one the admin resource uses. The errors are coming from the admin resource, because it's not receiving the expected arguments from the command. It's nothing to worry about. Your first issue sounds like a port forwarding issue. Did you remember to forward the HTTP port as well as the server port? (Default is 22005)
  9. subenji99

    3bugs

    That "error" (actually a warning) is because the stinger resource uses a command name identical to one the admin resource uses. The errors are coming from the admin resource, because it's not receiving the expected arguments from the command. It's nothing to worry about. Your first issue sounds like a port forwarding issue. Did you remember to forward the HTTP port as well as the server port? (Default is 22005)
  10. https://forum.multitheftauto.com/viewtop ... el#p299700 4th result from searching for: "replace car model"
  11. https://forum.multitheftauto.com/viewtop ... el#p299700 4th result from searching for: "replace car model"
  12. http://code.google.com/p/multitheftauto ... k/required Those, except freeroam and play. (listed as required as the default mtaserver.conf file loads them as the default gametype)
  13. http://code.google.com/p/multitheftauto ... k/required Those, except freeroam and play. (listed as required as the default mtaserver.conf file loads them as the default gametype)
  14. https://wiki.multitheftauto.com/wiki/OnClientRender It's not "whenever they move", but rather "every frame". Besides, if you decide to use dxDrawText for this (and I recommend it), you need to use it with onClientRender anyway. Use https://wiki.multitheftauto.com/wiki/GetElementPosition to get the coordinate data.
  15. https://wiki.multitheftauto.com/wiki/OnClientRender It's not "whenever they move", but rather "every frame". Besides, if you decide to use dxDrawText for this (and I recommend it), you need to use it with onClientRender anyway. Use https://wiki.multitheftauto.com/wiki/GetElementPosition to get the coordinate data.
  16. I don't think it's actually required as such, but the new method is certainly better in my opinion. No need to be sure you got the returned table contents in the correct order. Both syntaxes are correct. One other change to note however, if a query would return no data, it used to return either false or nil. (I forgot which) Now it returns an empty table. Not sure what the logic was behind that change, but just be aware of it.
  17. I don't think it's actually required as such, but the new method is certainly better in my opinion. No need to be sure you got the returned table contents in the correct order. Both syntaxes are correct. One other change to note however, if a query would return no data, it used to return either false or nil. (I forgot which) Now it returns an empty table. Not sure what the logic was behind that change, but just be aware of it.
  18. Can we just enforce a "no requests" rule in this section and give these type of people their own section? This discussion all over again once a week every week is getting annoying now.
  19. Can we just enforce a "no requests" rule in this section and give these type of people their own section? This discussion all over again once a week every week is getting annoying now.
  20. I forgot about isPlayerMapVisible. Indeed, no need for my suggestion, it already exists and I'm a fool.
  21. I forgot about isPlayerMapVisible. Indeed, no need for my suggestion, it already exists and I'm a fool.
  22. You are trying to attach an event handler to an element you haven't created yet. In fact, I'm seeing massive problems here. Line 4 is using the wrong event as the function you attach it to is expecting arguments similar to what onVehicleEnter would provide, and in that case it should be attached to the "missionvehicle" element. missionvehicle is set local to the createMissionVehicle function but you want to compare to it in your carJob function - it will return nil. On line 8, you also check for an element that doesn't exist later on, "missionvehicleboat". Your "createMissionVehicle" function has arguments set up for a command handler but it is called via an event.
  23. You are trying to attach an event handler to an element you haven't created yet. In fact, I'm seeing massive problems here. Line 4 is using the wrong event as the function you attach it to is expecting arguments similar to what onVehicleEnter would provide, and in that case it should be attached to the "missionvehicle" element. missionvehicle is set local to the createMissionVehicle function but you want to compare to it in your carJob function - it will return nil. On line 8, you also check for an element that doesn't exist later on, "missionvehicleboat". Your "createMissionVehicle" function has arguments set up for a command handler but it is called via an event.
×
×
  • Create New...