!damo!spidermans RC & Tram [FS] - No Timers -
!damo!spiderman - 27.06.2007
!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
Re: !damo!spidermans RC & Tram [FS] - No Timers -
-Sneaky- - 27.06.2007
thats really nice man
Re: !damo!spidermans RC & Tram [FS] - No Timers -
yom - 27.06.2007
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
Re: !damo!spidermans RC & Tram [FS] - No Timers -
!damo!spiderman - 27.06.2007
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;
}
Re: !damo!spidermans RC & Tram [FS] - No Timers -
$$$PiMp - 27.06.2007
Can you add the RC_CAM as well (its the pot thing)
Thank You,
Allan($$$PiMp)
Re: !damo!spidermans RC & Tram [FS] - No Timers -
!damo!spiderman - 27.06.2007
You can automatically enter RC_CAM but sometimes you cant exit so i've updated the script for exiting..
Re: !damo!spidermans RC & Tram [FS] - No Timers -
$$$PiMp - 27.06.2007
ok thnx
Re: !damo!spidermans RC & Tram [FS] - No Timers -
Crissiejjj - 22.07.2007
Thanks man, Now i can finally enter the trams!
Re: !damo!spidermans RC & Tram [FS] - No Timers -
MaTrIx4057 - 22.07.2007
Really good filterscript...
Re: !damo!spidermans RC & Tram [FS] - No Timers -
!damo!spiderman - 22.07.2007
Thanks guys
Re: !damo!spidermans RC & Tram [FS] - No Timers -
[SMB]Bip - 22.07.2007
Great work mate
Re: !damo!spidermans RC & Tram [FS] - No Timers -
Betamaster - 23.07.2007
Here is the same code simplified a little and with the warnings fixed.
http://pastebin.ca/630415
Re: !damo!spidermans RC & Tram [FS] - No Timers -
!damo!spiderman - 23.07.2007
What warnings were there?
I dont remember.. I\'ve modified my version of this script so much i don\'t remember
Oh well
Re: !damo!spidermans RC & Tram [FS] - No Timers -
Foxtrota - 23.07.2007
nice work, hmm i thought ya could enter the rc cam before.
Re: !damo!spidermans RC & Tram [FS] - No Timers -
!damo!spiderman - 23.07.2007
Sometimes you can sometimes you cant.. its a bit buggy so i included it anyway
Re: !damo!spidermans RC & Tram [FS] - No Timers -
GtakriZ - 23.07.2007
Nice one

Good job!
Re: !damo!spidermans RC & Tram [FS] - No Timers -
JaTochNietDan - 23.07.2007
I love this script thanks man.
Re: !damo!spidermans RC & Tram [FS] - No Timers -
asteroid - 23.07.2007
T h a n k you
Re: !damo!spidermans RC & Tram [FS] - No Timers -
splitx - 09.01.2008
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?
Re: !damo!spidermans RC & Tram [FS] - No Timers -
kaisersouse - 09.01.2008
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...