[FilterScript] !damo!spidermans RC & Tram [FS] - No Timers
#1

!damo!spidermans RC & Tram Filterscript

I saw other peoples tram entering filterscripts and not only did the seem over complicated they also didn't seem to work alot of the time(for me anyway)

This filterscript uses no timers... You should be able to get into any rc vehicle or tram with your standard f or enter key

SpideyTramRC ( pastebin )


Updated - Was using wrong key define.. :P

Also i was having trouble exiting the rc vehicles so I've added more to the script to remove you from the vehicle to. RemovePlayerFromVehicle wasn't working either so i've had to set the players Position slightly to remove them from it.


Updated Again: Just realised how dodgy one of my functions was and updated it so now it actually puts you in the closest car isntead of the first car within a distance :P
Also updated it so that it wont set the players position if you're getting out of a tram as that works natively...


Once Again Another Update:

I forgot to add the RC_TANK now added
Reply
#2

thats really nice man
Reply
#3

A small improvement,

You could do:
pawn Code:
IsVehicleRcTram( vehicleid )
{
  new model = GetVehicleModel(vehicleid),
    bool:result;

  switch(model)
  {
    case 441,449,464,465,501,564 : result = true;
    default : result = false;
  }
 
  return result;
}
I don't know if it's faster or what else, but it looks better...only my advice :P
Reply
#4

Yeah i could... maybe i should... :P

Or even

pawn Code:
IsVehicleRcTram( vehicleid ){
  new model = GetVehicleModel(vehicleid);
    switch(model){
        case D_TRAM, RC_GOBLIN, RC_BARON, RC_BANDIT, RC_RAIDER, RC_TANK: return 1;
        default: return 0;
    }
    return 0;
}
Reply
#5

Can you add the RC_CAM as well (its the pot thing)

Thank You,
Allan($$$PiMp)
Reply
#6

You can automatically enter RC_CAM but sometimes you cant exit so i've updated the script for exiting..

Reply
#7

ok thnx
Reply
#8

Thanks man, Now i can finally enter the trams!
Reply
#9

Really good filterscript...
Reply
#10

Thanks guys
Reply
#11

Great work mate
Reply
#12

Here is the same code simplified a little and with the warnings fixed.
http://pastebin.ca/630415
Reply
#13

What warnings were there?

I dont remember.. I\'ve modified my version of this script so much i don\'t remember

Oh well
Reply
#14

nice work, hmm i thought ya could enter the rc cam before.
Reply
#15

Sometimes you can sometimes you cant.. its a bit buggy so i included it anyway
Reply
#16

Nice one Good job!
Reply
#17

I love this script thanks man.
Reply
#18

T h a n k you
Reply
#19

i Love This But I want like a /hide command so i can hide my name in it so i can be a spy :P
can some 1 help me?
Reply
#20

Quote:
Originally Posted by Splitx
i Love This But I want like a /hide command so i can hide my name in it so i can be a spy :P
can some 1 help me?
I think you got the wrong script. This is the tram/train script...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)