Ramp System Help!
#1

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?
Reply
#2

yes just make an array of vehicles that an accept ramps
Reply
#3

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....



Reply
#4

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
Reply
#5

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?
Reply
#6

pastebin.com
Reply
#7

Quote:
Originally Posted by dice7
pastebin.com

http://pastebin.com/m277a1b32
Reply
#8

Use this
http://forum.sa-mp.com/index.php?topic=79212.0

And use it under OnPlayerEnterVehicle
Reply
#9

Quote:
Originally Posted by dice7
Use this
http://forum.sa-mp.com/index.php?topic=79212.0

And use it under OnPlayerEnterVehicle
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...

Reply
#10

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?




Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)