Ramp System Help! - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Ramp System Help! (
/showthread.php?tid=100923)
Ramp System Help! -
icezoor - 07.10.2009
Hi, I have a ramp system on my server, but itґs very irritating to have ramp when you get into a plane or helicopter, and for instead for write /rampoff can I make so some vehicle canґt have ramp?
Re: Ramp System Help! -
brett7 - 07.10.2009
yes just make an array of vehicles that an accept ramps
Re: Ramp System Help! -
icezoor - 07.10.2009
Quote:
Originally Posted by brett7
yes just make an array of vehicles that an accept ramps
|
Can you or someone else help me to fix "array"

? All id

can I add self, I think....
Re: Ramp System Help! -
icezoor - 07.10.2009
Quote:
Originally Posted by icezoor
Quote:
Originally Posted by brett7
yes just make an array of vehicles that an accept ramps
|
Can you or someone else help me to fix "array"  ? All id  can I add self, I think....
|
Someone
Re: Ramp System Help! -
saiberfun - 07.10.2009
Quote:
b) Do not bump
Some people apparently think they are important enough to bump their own topic after 10 minutes.
You can bump topics when the last reply is at least 12 hours old.
|
Specific Rules for this forum
I'll have a look at it tho.
oh and what about it exactly is wrong?
Re: Ramp System Help! -
dice7 - 07.10.2009
pastebin.com
Re: Ramp System Help! -
icezoor - 07.10.2009
Quote:
Originally Posted by dice7
pastebin.com
|
http://pastebin.com/m277a1b32
Re: Ramp System Help! -
dice7 - 07.10.2009
Use this
http://forum.sa-mp.com/index.php?topic=79212.0
And use it under OnPlayerEnterVehicle
Re: Ramp System Help! -
icezoor - 07.10.2009
Quote:
Originally Posted by dice7
|
Thx....
But I have "installed" it under include... but after that? Should I just add "#include <mikefunc>" in the ramp FS.... Or what should I do with:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
return 1;
}

Excuse my if I am almost a beginner...
Re: Ramp System Help! -
icezoor - 09.10.2009
I have now try almost everything... Fore example have I add this:
stock Isvalid(carid)
{
new veh[3] = { 509, 481, 510 };
for(new i = 0; i < sizeof(veh); i++)
{
if(GetVehicleModel(carid) == veh)
{
ramped[playerid] = 1;
noramp[playerid] = 1;
return 1;
}
else
{
ramped[playerid] = 0;
noramp[playerid] = 0;
return 1;
}
}
}
But it doesn't help!
Can YOU help me?