Jump to content

itsMatheus

Members
  • Posts

    9
  • Joined

  • Last visited

Recent Profile Visitors

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

itsMatheus's Achievements

Newbie

Newbie (4/54)

0

Reputation

  1. @koragg It works! Thank you so much guys for all the replies. I think it's easier to use the last alternative than to make a whole database just for it.
  2. Is it possible to get a vehicle by its license plate? Like do a command /platecheck [licenseplate] and then return all the information about the vehicle. I'm trying to figure out a way to do it but I can't find a solution. Keep in mind that I am new at scripting, so sorry if this is a easy thing to do.
  3. @Melbourne Thank you so very much! And I could understand you just fine You don't know for how long I've been searching for this, haha.
  4. Hey guys. I'm new to scripting, only learning from the wiki, but I couldn't figure out how to create a blip that only appears for a certain team. local playersinteam = getPlayersInTeam(getTeamFromName("EMS")) createBlipAttachedTo(source, 0, 5, 255, 255, 0, 255, 0, 65535, playersinteam) This is the part of my script that i'm having troubles with. If anyone could help me out I would very much appreciate it.
  5. It worked! Thank you CodyL You saved me hours of searching on MTA Wiki
  6. I'm sorry CodyL, I didn't get it...
  7. This is the client side script: rootElement = getRootElement() -- Lots of things in between... function spawnPoliceOfficerLS ( button ) if button == "left" then triggerServerEvent("onSpawnPoliceOfficerLS", rootElement) end end It calls the server side when player click the button to spawn.
  8. I tried "source" already, it still does the same thing
  9. So, first... I'm really noob at programming, and I was trying to create a spawn screen script... But when the even is called, it calls all the commands but the spawnPlayer... It says it is expecting a player at argument 1, but i really don't know what to put in there. I've looked a lot of MTA Wiki pages, tried a lot of things but i can't make it work. It could be a really stupid thing, but as I said, im really new at programming. Thanks to CodyL, for the fix
×
×
  • Create New...