• Welcome to Vice City Multiplayer.
 

Question Please Help

Started by TanaX01, July 03, 2008, 04:48:40 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

TanaX01

Hai All Please Help My

In:

** 4 finalchiky joined the server.

Quote<Marcispeems>    [KFD]Rackball: !getcar39
   <Marcispeems>   [KFD]Rackball: !getcar 39
   <Marcispeems>   panguino: pues fui ala casa de un amigo
   <Marcispeems>   panguino: Xd
   <Marcispeems>   [KFD]Rackball: o


Why Not

Quote<Marcispeems>    [1][KFD]Rackball: !getcar39
   <Marcispeems>   [1][KFD]Rackball: !getcar 39
   <Marcispeems>   
  • panguino: pues fui ala casa de un amigo
       <Marcispeems>   
  • panguino: Xd
       <Marcispeems>   [1][KFD]Rackball: o
[ID] User Chat : Hi

[5]TanaX01: Hi All

Please Help

Nemesis2500



ReVilo

He wants the ID to show before the play name in the echo:
Here's how to do it in sansan:
Here'e the edited CHAT EVENT:
on *:SIGNAL:vcmp.event.chat:{
  var %name = $left([ $1 ],-1),%id = $vcmp.nameid(%name), %team = $iif($vcmp.hgetteam(%id) != -1,$v1,255), %cname = $vcmp.hgetname(%id) $+ :
  vcmp.enforcelogin %id
  vcmp.enforcestfu %id
  vcmp.enforce.censor %id $2-
  if ($left($2,1) == !) {
    { inc -u4 $+(%,anticmdspam.,[ %name ]) | .signal vcmp.event.gamecmd $1- }
  }
  if (%echolevel > 2) vcmp.echo 4 $+ $+($chr(91),%id,$chr(93)) $+ 7 %cname $+ 1 $2-

It's mostly that last line you're gonna want to look at ^^
Here's the edited JOIN EVENT:
on *:SIGNAL:vcmp.event.join:{
  if (%echolevel > 0) vcmp.echo 7** $vcmp.nameid($1) $2 joined the server.
  .signal vcmp.event.addplayer $1 $2
  vcmp.gametext $1 ~h~Welcome $2 $+ !

You can see the rest of it is default, you may make other changes.

Force

Or you could use my method :P


on *:SIGNAL:vcmp.event.chat:{
  var %name = $left([ $1 ],-1),%id = $vcmp.nameid(%name), %team = $iif($vcmp.hgetteam(%id) != -1,$v1,255), %cname = $vcmp.hgetname(%id) $+ :
  vcmp.enforcelogin %id
  vcmp.enforcestfu %id
  vcmp.enforce.censor %id $2-
  if ($left($2,1) == !) {
    { inc -u4 $+(%,anticmdspam.,[ $+ %id $+ ]) | .signal vcmp.event.gamecmd $1- }
  }
  if (%echolevel > 2) vcmp.echo 4 $+ $+($chr(91),%id,$chr(93)) $+ 7 %cname $+ 1 $2-

ReVilo

that's the same thing for what he wants to do .-.

TanaX01


Force

Quote from: ReVilo on July 03, 2008, 06:13:59 PM
that's the same thing for what he wants to do .-.

Lol I know but mine looks like
  • instead of [ 0 ]

ReVilo