Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - [NoN]Toiletduck

Pages: [1] 2 3 ... 5
1
mIRC/pawn Scripting / Re: Make a teleport command-own command
« on: March 21, 2009, 10:35:54 am »
If you are using WSV, open script editor and look at all replace the GUS paramaters and alises with the WSV ones.  It can't be very difficult.

2
mIRC/pawn Scripting / Re: Plz help my auto-drown!
« on: March 20, 2009, 11:00:25 pm »
The killer.

3
mIRC/pawn Scripting / Re: Make a teleport command-own command
« on: March 20, 2009, 10:56:17 pm »
I can do it in GUS and then you can convert it.

Code: [Select]
}
  elseif ($2 == !dmarena) {
    if ($vcmp.cmdcheck(!dmarena,%id) == fail) !halt
    else {
      vcmp.msg %id Taking you to the Death Match arena...
      .timer 1 1 vcmp.setlocation %id axis axis axis
    }


4
mIRC/pawn Scripting / Re: mIRC vc-mp simple scripting tutorial
« on: March 13, 2009, 07:51:31 am »
Read.

5
mIRC/pawn Scripting / Re: mIRC vc-mp simple scripting tutorial
« on: March 12, 2009, 09:24:42 pm »
*bump bump*
Many people have asked me some questions regarding scripting.

6
mIRC/pawn Scripting / Re: How add some commands at G.U.S 9.0 Script
« on: March 11, 2009, 09:21:26 am »
You want to know how to add them?  Have you created them yet?  If not, there is no need to add them.

7
mIRC/pawn Scripting / Re: How add some commands at G.U.S 9.0 Script
« on: March 10, 2009, 08:29:14 pm »
Please be more specific.  What commands...

8
mIRC/pawn Scripting / Re: Some Character location questions
« on: March 01, 2009, 09:47:44 am »
Code: [Select]
;-----------------------------
;------------SPAWN------------
;-----------------------------

alias vcmp.spawn.loc !return $gettok($vcmp.location($1,x),1,46) $+ , $+ $gettok($vcmp.location($1,y),1,46) $+ , $+ $gettok($vcmp.location($1,z),1,46)
}
alias vcmp.before.findskin {

  ;$1 == ID
  ;$2 == NAME

  timer -m 1 1000 vcmp.findskin $1-
}
alias vcmp.findskin {

  ;$1 == ID
  ;$2 == NAME

  if (Biker1 isin $vcmp.area($1)) {
    !writeini -n vcmp.skin.ini SKINS $1 Biker-Boy
    vcmp.msg $1 You spawned as a Biker-Boy.
  }
  elseif (Biker2 isin $vcmp.area($1)) {
    !writeini -n vcmp.skin.ini SKINS $1 Biker-Buddy
    vcmp.msg $1 You spawned as a Biker-Buddy.
  }
  elseif (Biker isin $vcmp.area($1)) {
    !writeini -n vcmp.skin.ini SKINS $1 Biker
    vcmp.msg $1 You spawned as a Biker.
  }
}



That is where the alias goes.



Code: [Select]
}
on *:SIGNAL:vcmp.spawn:{
  var %name = $1
  var %id = $vcmp.getid($1)

  timer -m 1 500 vcmp.before.findskin %id %name
}
  echo @Server 5 $+ >> $2 spawned $+ 

  if ($vcmp.setting.spawn == On) vcmp.say >> $1 spawned
  if (($vcmp.pass(%id) != $null) && ($vcmp.lin(%id) != 1)) {
    if ($vcmp.ip(%name) == $readini(vcmp.admin.ini,IPS,%name)) {
      vcmp.say $iif($vcmp.level(%id) == 0,Member,$iif($vcmp.level(%id) == 1,Registered Player,Administrator)) %name Auto-Logged In (Admin Level: $vcmp.level(%id) $+ )
      vcmp.msg %id You Auto Logged In - Nick-Name: %name $+ , Admin Level: $vcmp.level(%id) $+ , Status: $iif($vcmp.level(%id) == 0,Member,$iif($vcmp.level(%id) == 1,Registered Player,Administrator))
      vcmp.timer.login %name off
      !writeini -n vcmp.admin.ini LIN %name 1
      !writeini -n vcmp.admin.ini IPS %name $vcmp.ip(%name)
    }
    else {
      vcmp.announce %id PLEASE LOGIN TO THIS NICK-NAME
      vcmp.msg %id You Must Login to this Nick-Name! Type: /c login <password>
      vcmp.sethp %id 0
    }
  }



That is what your "on *:SIGNAL:vcmp.spawn:{" should look like.

I am not sure if this will work, I have not done scripting for ages. 
If I am wrong, please correct me.

9
mIRC/pawn Scripting / Re: Some Character location questions
« on: February 28, 2009, 11:12:06 pm »
GUS 10 and 9.0 use the same aliases and so on because they have the same dll.  Add the cmds as a set amongst the other cmds and put the aliases with the other aliases. 

10
mIRC/pawn Scripting / Re: Some Character location questions
« on: February 15, 2009, 03:28:55 pm »
You need a skin identifier and you cannot remove that white text.

It is a VC-MP thing.

11
mIRC/pawn Scripting / Re: problem about FBVv0.2 Script
« on: February 14, 2009, 09:35:01 am »
Is 191 the right id?
You shouldn't have so many vehicles.

12
mIRC/pawn Scripting / Re: How can i show this? + Random Question
« on: February 09, 2009, 08:14:35 pm »
What error message do you receive?

13
Support / Re: Need help please :P
« on: February 08, 2009, 10:38:39 pm »
Remember that all traffic on the port that has been forwarded will bounce back.

14
mIRC/pawn Scripting / Re: How can i show this? + Random Question
« on: February 08, 2009, 05:20:24 pm »
Well one thing is that the colour of the announcement is determined by this: ~p~ or ~y~.

I do not know what the other colours are.  Does anyone have a list?

15
mIRC/pawn Scripting / Re: Please help
« on: February 08, 2009, 09:41:18 am »
Thank you Mr. Mex.

Pages: [1] 2 3 ... 5