Author Topic: 0.3z rcon Commands  (Read 31080 times)

0 Members and 1 Guest are viewing this topic.

Offline Falcon

  • VC:MP Developer
  • Wiseguy
  • *
  • Posts: 73
    • View Profile
0.3z rcon Commands
« on: July 22, 2007, 03:59:27 pm »
Hope this helps you scripters out there.

Full list of rcon commands.

kick <id> (explains itself)
ban <id> (explains itself)
banip <ip> (explains itself)
unban <ip> (explains itself)
password <newpassword> (sets password)
maxplayers <newmaxplayers> (sets max player limit)
gethp <id> (outputs players health to [gethp] <id> <health>)
getarmour <id> (outputs players armour to [getarmour] <id> <armour>)
getmoney <id> (outputs players money to [getmoney] <id> <money>)
getloc <id> (outputs players health to [getloc] <id> <pos.x> <pos.y> <pos.z>)
gethr (outputs current hr to [gethr] <currenthour>)
getmin (outputs current minute to [getmin] <currentminute>)
getweather (outputs current weather to [getweather] <currentweathervalve>)
getspectators (outputs current amount of people in spectator mode to [getspectators] <amount>)

adminchat <text> (Display text in server)
adminmsg <id> <text> (Sends text to id only)
sethr <newhour> (explains itself)
setmin <newminute> (explains itself)
setweather <valve> (Changes weather to new valve)
settimerate <rate> (changes rate time counts)

set 1 <id> <pos.x> <pos.y> <pos.z> <interourid> (sets players position and interour)
set 2 <carid> <health> (sets vehicle health)
set 3 <carid> <status> (sets car door status etc 4 = locked)
set 4 <id> <money> (sets players money)
set 5 <id> <weaponid> (sets players weapons .. note 0 will remove all weapons)
set 6 <id> <state> (sets players control state)
set 7 <id> (removes marker from player)
set 8 <carid> <pos.x> <pos.y> <pos.z> (sets car location)
set 9 <id> <carid> (put player into car)
set 10 <id> <health> (sets player health)
set 11 <id> <colour> (show player marker and change colour)
set 12 <id> <armour> (set players armour)
set 13 <id> <text> (display text centre .. note this uses std gxt)
set 14 <id> (set player non imune to other players)
set 15 <id> (set player imune to other players)
set 16 <marker> <pos.x> <pos.y> <pos.z> (set icon and posation)
set 18 <carid> (kils car engine)

newpickup <type> <pos.x> <pos.x> <pos.y> (creates pickup at position and outputs too [newpickup] <pickupid> <type> <pos.x> <pos.y> <pos.z>)
deletepickup <pickupid> (explains itself)
spawnpickup <pickupid> (respawns pickup)
spickupplayer <playerid> <pickupid> (spawns pickup for player only)
do <playerid> <anim> (set players animation)

players (returns this info in order - id,playername,ip,port,playerhealth,playerarmour,coord-x,coord-y,coord-y,carid,currentweapon,currentcarhp,players,currentmoney)




« Last Edit: July 22, 2007, 04:21:20 pm by Falcon »

Offline adamale

  • VC:MP Beta Tester
  • Wiseguy
  • *
  • Posts: 54
    • View Profile
    • GTAM.info
Re: 0.3z rcon Commands
« Reply #1 on: July 22, 2007, 05:57:54 pm »
Thanks a lot Falcon ;)

Offline AdTec_224

  • Administrator
  • Street Thug
  • *****
  • Posts: 30
    • View Profile
Re: 0.3z rcon Commands
« Reply #2 on: July 22, 2007, 08:18:14 pm »
WOW just what i needed thank you falcon! ;D

just a quick question :P

Quote
set 16 <marker> <pos.x> <pos.y> <pos.z> (set icon and posation)
set 18 <carid> (kils car engine)

is there a set 17? and if so what is it?

Thanks again

-AdTec_224

Juppi

  • Guest
Re: 0.3z rcon Commands
« Reply #3 on: July 22, 2007, 08:54:23 pm »
Thanks, dude! This'll help us scripters a lot :)

Offline capitanazo

  • Street Thug
  • *
  • Posts: 36
  • Chilean vcmp Master!
    • View Profile
Re: 0.3z rcon Commands
« Reply #4 on: July 22, 2007, 09:55:20 pm »
Oh Thanks =D
how to use this in mirc script?
bye

Offline adamale

  • VC:MP Beta Tester
  • Wiseguy
  • *
  • Posts: 54
    • View Profile
    • GTAM.info
Re: 0.3z rcon Commands
« Reply #5 on: July 23, 2007, 03:53:38 am »
Look into Tommis GUS. You need to understand how it works. It's really hard to exlpain it to someone who doesn't speak english...

Offline Falcon

  • VC:MP Developer
  • Wiseguy
  • *
  • Posts: 73
    • View Profile
Re: 0.3z rcon Commands
« Reply #6 on: July 23, 2007, 02:28:35 pm »
WOW just what i needed thank you falcon! ;D

just a quick question :P

Quote
set 16 <marker> <pos.x> <pos.y> <pos.z> (set icon and posation)
set 18 <carid> (kils car engine)

is there a set 17? and if so what is it?

Thanks again

-AdTec_224

set 17 is another marker/icon w/o sphere how ever is alittle buggy so don't recommend you use it.

Offline AdTec_224

  • Administrator
  • Street Thug
  • *****
  • Posts: 30
    • View Profile
Re: 0.3z rcon Commands
« Reply #7 on: July 23, 2007, 04:08:44 pm »
ok i wont bother using it ;) thanks again for the info

-AdTec_224

Offline Pluisje

  • Wiseguy
  • **
  • Posts: 53
  • Glitching is fun wheeee.
    • View Profile
Re: 0.3z rcon Commands
« Reply #8 on: August 01, 2007, 12:10:47 am »
loly finaly ll the commands thnx falcon..

cyas

Pluisje

Juppi

  • Guest
Re: 0.3z rcon Commands
« Reply #9 on: October 25, 2007, 12:21:19 am »
set 16 <marker> <pos.x> <pos.y> <pos.z> sets a new icon to the map. Is there any command to delete the icon? I have noticed that rejoining the server deleted it, but if you want to remove the marker while being in the server?

And set 2 <carid> <health>, what are the values for car hp? I have tried almost everything, but all i get is that either the car explodes or hp gets very high (for example 5 674 136 % :( )

Offline Winky

  • Street Thug
  • *
  • Posts: 8
    • View Profile
Re: 0.3z rcon Commands
« Reply #10 on: October 28, 2007, 04:47:14 pm »
Ye i got that also on set car health  :o

Juppi

  • Guest
Re: 0.3z rcon Commands
« Reply #11 on: November 26, 2007, 12:42:05 am »
Does anyone know that set 2 <carid> <health> thing? I would need that in my script project

Offline GTA-Roloboy

  • Made Man
  • ***
  • Posts: 135
    • View Profile
Re: 0.3z rcon Commands
« Reply #12 on: November 29, 2007, 08:14:02 pm »
Hmm, there lots of rcon commands not working.. like

setcarhp, password, imune, nonimune, icons on map are buggy, remove player marker, show player marker and color, spawn pickup for player only, etc :S

Offline silence(dead)

  • Street Thug
  • *
  • Posts: 11
    • View Profile
Re: 0.3z rcon Commands
« Reply #13 on: March 22, 2008, 10:06:01 am »
yup, u got to have the cmds in order for them to work  :)

Offline GTA-Roloboy

  • Made Man
  • ***
  • Posts: 135
    • View Profile
Re: 0.3z rcon Commands
« Reply #14 on: March 22, 2008, 10:02:51 pm »
What?