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.


Topics - Force

Pages: 1 [2]
16
Hi,

I've had this problem for a while with VRocker's new DLL where it returns Unknown for the name of Skimmers and Boats...

Here is a screenshot:



Any ideas on how to fix this? I am using the latest version of the DLL (1.0.0.3), also, I think there may be a different entry number for the boats and skimmers because on every other vehicle, I get the message saying you entered a blah (Scripted it in) but not for the skimmer. Are there more entry methods other than 18 and 17?

Cheers,

Force

17
mIRC/pawn Scripting / Auto Drown scripts not working
« on: August 12, 2008, 11:25:53 pm »
Ok, I have made numerous auto drown scritpts before but I can't seem to get it to work using VRocker's new DLL :(

Code: [Select]
  elseif (Bank isin $FBS.Buildings($1, $3)) {
    $FBS.Bankwarn($1, $2)
  }
  elseif (Sunshine isin $FBS.Buildings($1, $3)) {
    $FBS.Sunshinewarn($1, $2)
  }
  elseif ($vcmp.weaponname($1, $4) == DriveBy) {
    $FBS.Drivebywarn($1, $2)
  }

None of these work :(, Any idea's?

18
mIRC/pawn Scripting / Notice from rulk to stunty
« on: July 30, 2008, 03:25:57 pm »
Well, Well, Well, Stunty...Look who's had a word with rulk, aye?

Quote
[13:21] <~[SDT]FoRcE> From rulk. stunty (jamie) has used the basis of my script and is free to edit it and distribute it.
[13:21] <~[SDT]FoRcE> From rulk. stunty13 is free to claim ownership on the code once modified.
[13:21] <@rulk> WTFFFFFFFFFFF

Quote
[13:23] <@rulk> i havent got a username for the forums anymore, canu post something like, luke has not authorsied any of this

Look's like someone has been lying hell of a lot  :o >:(

Aka, You haven't had permission to post any of this code

19
mIRC/pawn Scripting / Umm Sansan hgetwep?
« on: July 26, 2008, 02:01:52 pm »
I'm just wondering what the following alias could be used for:

Code: [Select]
alias vcmp.hgetwep !return $gettok($hget(vcmp,players. $+ $1),10,32)

If ya have any ideas let me know please :)

20
mIRC/pawn Scripting / help with unban
« on: July 16, 2008, 10:19:51 pm »
Hey,

I have been using sansan for my new server that I have made and i have a question about the unbanning.

I have changed vcmp.ban to write to a text file like so:

Code: [Select]
!write vcmp.banned.txt Banned: $vcmp.hgetname($vcmp.nameid($1)) - By Admin: $vcmp.hgetname($1) - IP: $vcmp.hgetip($vcmp.nameid($1)) - Reason: $iif($2,$2-,)

However, When i unban someone i want to remove them from this file, how would i go about doing so?

Help will be appreciated :)

Cheers,

21
mIRC/pawn Scripting / Lock Car for sansan
« on: July 12, 2008, 03:49:12 pm »
Hey,

Quick question, I was wondering whether or not there is a vcmp.lock alias for sansan or something similar to lock cars in the server?

Thanks,

22
mIRC/pawn Scripting / Working votekick for sansan
« on: July 10, 2008, 08:40:08 pm »
Hey

(Please move this topic if its not in the right place ;) )

I have just spent the last 4 nearly 5 hours doing a votekick for sansan, if anyone wants it then feel free :)

Code: [Select]

on *:SIGNAL:vcmp.event.gamecmd {

    elseif ($2 == !votekick) {
      if ($hget(vcmp,loggedin. $+ %id) < 2) { vcmp.adminmsg %id You must be Admin Level 2 or higher to attempt this command. }
      elseif ($hget(VoteKick,started) == started) { vcmp.adminmsg %id There is already a vote kick in progress! }
      else {
        !hadd -m VoteKick started started
        !hadd -m ToKick $vcmp.hgetname($3) voting
        vcmp.adminchat Vote Kick started for $vcmp.hgetname($3) $+ , ID: $3 - Votes Required: 3 - Reason: $iif($4-,$v1,None) $+ , By Admin: $iif($1,$v1,Unknown)
        vcmp.adminchat Auto Recieved one vote! Two more are needed, type !vote <player id being kicked> to do so         
        vcmp.vkick $3 $vcmp.hgetname(%id) $4-
      }
    }
    elseif ($2 == !vote) {
      if ($hget(VotedTable,$vcmp.hgetname(%id)) == voted) { vcmp.adminmsg %id You have already voted! }
      elseif ($hget(ToKick,$vcmp.hgetname($3)) != voting) { vcmp.adminmsg %id This player is not up for a vote kick! }
      else {
        !hadd -m VotedTable $vcmp.hgetname(%id) voted
        vcmp.vkick $3 $vcmp.hgetname(%id) $4-
      }
    }

Code: [Select]
;--- Vote Kick Alias'

alias vcmp.votes !return $iif($readini(vcmp.votes.ini,VOTES,$vcmp.hgetname($1)),$v1,0)

alias vcmp.vkick {
  if ($vcmp.votes($1) >= 2) {
    !writeini -n vcmp.votes.ini VOTES $vcmp.hgetname($1) 3
    vcmp.adminchat Kicking $vcmp.hgetname($1) - Reason: Vote - Kicked $+ , By Admin: $iif($2,$v1,Unknown)
    vcmp.kick $1
    hdel ToKick $1
  }
  else {
    !writeini -n vcmp.votes.ini VOTES $vcmp.hgetname($1) $calc($vcmp.votes($1) + 1)
    vcmp.adminchat $vcmp.votes($1) $+ /3 votes recieved!
  }
}

Code: [Select]
on *:SIGNAL:vcmp.event.part:{

  if ($hget(ToKick,$2) == voting) {
    vcmp.adminchat Vote Kick cancelled for $2 $+ , Reason: Left the server!
    !writeini -n vcmp.votes.ini VOTES $2 0
    remini vcmp.votes.ini VOTES $2
    hdel ToKick $2
    hfree VoteKick
    hdel VotedTable $2
  }

23
Hey,

I am having major, major, problems. I thought I was ready to release my server but it seems not. I am using sansan and I have a lot of admin commands, however, its not even checking your level, its letting registered and non registered players use all admin commands apart from !slap...

Any ideas?

24
mIRC/pawn Scripting / [RESOLVED]Snipers Mini - Game
« on: July 01, 2008, 05:22:13 pm »
Hi,

I am making a Snipers Mini - Game (M60's for now :P) with Windlord for Sansan. I have got this code to sort the round but I don't know how I am going to restore everyone's control's when the !go command is typed :(. Here is the code, if you are able to help it would be appreciated :)

Code: [Select]
    elseif ($2 == !go) {
      if ($hget(SnipeHashTable,$vcmp.hgetname($1)) != Sniping) { vcmp.adminmsg %id You are not participating! }
      elseif ($hget(GoHashTable,Go) != Standby) { vcmp.adminmsg %id You can't start yet! Other paricipants may want to join! }
      else {
        timer 1 1 vcmp.gametext.all vcmp.doforall - 3 -
        timer 1 2 vcmp.gametext.all vcmp.doforall - 2 -
        timer 1 3 vcmp.gametext.all vcmp.doforall - 1 -
        timer 1 4 vcmp.gametext.all vcmp.doforall Fight!
        timer 1 5 vcmp.setcon vcmp.doforall 1
      }
    }

the vcmp.setcon vcmp.doforall was something I added in as a test to try and do it, but it failed. Ideally I would like it to loop round the SnipeHashTable and restore all controls to ppl that are on there..

Any ideas?

Cheers,

25
mIRC/pawn Scripting / Confused about sansan echo =\
« on: June 29, 2008, 09:27:15 pm »
Hey

I am confused about sansan's echo. On the handledeath signal which echos to the channel the person who died and the reason:

Code: [Select]
vcmp.echo 7[ $+ %id $+ ]10 $vcmp.hgetname(%id) $+ %deathreason 

I have noticed that only works for registered users, if I am called Testing (a.ka. A non registered user) it doesn't echo it!

Oh and its fine for non registered users when they speak, it echos the chat fine

Any ideas?

26
mIRC/pawn Scripting / VRocker's New DLL - Scripting is impossible :'(
« on: June 28, 2008, 02:01:37 pm »
Hi,

I downloaded VRockers new DLL and vc-mp and now I am trying to edit to get it to a script that I can use, however, I can't seem to be able to make a login/ register system and for now I am trying to do a sethp command but that is failing:

Code: [Select]
on *:SIGNAL:vcmp.player.command2:{
  ; $1 = ServerID, $2 = PlayerID, $3 = Command, $4- = Params
  vcmp.addchat $1 $vcmp.name( $1, $2 ) $+ : /c $3-

  elseif ($3 == sethp) {
    elseif (!$4) vcmp.msg $2 Error - Missing Information, $3 <name> <amount>
    elseif (!$5) vcmp.msg $2 Error - Missing Information, $3 <name> <amount>
    elseif ($4 == -1) vcmp.msg $2 Error - Invalid ID/Name
    else {
      vcmp.sethp $4 $5
      vcmp.say Setting HP on: $4 To Amount: $5 $+ % By Admin: $2
    }
    !.signal vcmp.command2 $strip( $1- )
  }
}

Any ideas?

27
Hi,

I'm trying to make a command to put a player in a vehicle, I know it can be done because I have seen it before as somone did it to me.

I have got this so far;

Code: [Select]
  elseif ($2 == gpc) {
    if ($vcmp.cmdcheck(!gpc,%id) == fail) !halt
    elseif (!$3) vcmp.msg %id Error - Missing Information, $2 <name> <car id>
    elseif (!$4) vcmp.msg %id Error - Missing Information, $2 <name> <car id>
    elseif (%a == -1) vcmp.msg %id Error - Invalid ID/Name
    else {
      vcmp.msg %a Admin $vcmp.getname(%id) has given you $vcmp.carname($4) $+ ,Enjoy.
     
    }
  }

I just know how to put the player in the car after the PM has been sent.

Please help  :(

Cheers,

[SDT]F_T_F0RC3

Pages: 1 [2]