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

0 Members and 1 Guest are viewing this topic.

yazeen

  • Guest
Re: 0.3z rcon Commands
« Reply #15 on: March 19, 2011, 08:41:27 am »
WTF it is crashing while using some rcon commands

Offline Castagna

  • VC:MP Beta Tester
  • Made Man
  • *
  • Posts: 129
  • Global Moderator
    • View Profile
Re: 0.3z rcon Commands
« Reply #16 on: March 21, 2011, 04:27:47 am »
thnks
Castagna - EA Founder


Offline Castagna

  • VC:MP Beta Tester
  • Made Man
  • *
  • Posts: 129
  • Global Moderator
    • View Profile
Re: 0.3z rcon Commands
« Reply #17 on: March 21, 2011, 04:35:02 am »
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)





The pickup thing not working mmmm
Castagna - EA Founder


Offline Skirmant

  • Made Man
  • ***
  • Posts: 134
    • View Profile
Re: 0.3z rcon Commands
« Reply #18 on: March 21, 2011, 08:32:40 am »
Which pickup thing? What DLL & script base are you using?

Here's a documentation on the R2 DLL

http://forum.vicecitymultiplayer.com/index.php?topic=1586.0

Personally, I think that the topic above should be pinned and have the DLL attached to it.

Offline Castagna

  • VC:MP Beta Tester
  • Made Man
  • *
  • Posts: 129
  • Global Moderator
    • View Profile
Re: 0.3z rcon Commands
« Reply #19 on: March 22, 2011, 03:27:25 am »
some commands are not working like password or newpickup or spawnpickup ...... a lot more :S
Castagna - EA Founder


Offline Skirmant

  • Made Man
  • ***
  • Posts: 134
    • View Profile
Re: 0.3z rcon Commands
« Reply #20 on: March 25, 2011, 10:39:06 am »
How are you using these commands? Note that typing /newpickup in your server will NOT spawn a pickup. A lot of these commands must be sent directly to the server via Pawno or mIRC script to work.

Offline tato

  • Made Man
  • ***
  • Posts: 106
  • I bet u don't know me!
    • View Profile
    • EA Server
Re: 0.3z rcon Commands
« Reply #21 on: March 26, 2011, 06:00:12 am »
but how can i do it ??????

Offline Robd

  • Wiseguy
  • **
  • Posts: 67
    • View Profile
Re: 0.3z rcon Commands
« Reply #22 on: March 27, 2011, 08:36:29 am »
SendRconCommand doesnt work for me.
You guys work hard with this VCMP thing but you seriously need to fix some of these bugs
Hello, this is Robd from the past.
If you are seeing this I have either posted something stupid, forgotten something, started a stupid topic, or a combination of the three.

Please forgive us for this mistake.

Regards, management