[FS] Tramplins Spawn -
De[M]oN - 27.06.2007
Tramplins Spawn Filter Script create object tramp(1245) when player sit at any vehicle and press lmb or alt(as deafult)
Count of tramp unlimited, it\'s not sunc, becouse used CreatePlayerObject.
Tramps auto destroyed below 1.5sec
PasteBin PWN
tramp.amx
pawn Code:
#include <a_samp>
forward DelObj(playerid,Obj);
public DelObj(playerid,Obj)DestroyPlayerObject(playerid,Obj);
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
if ((newkeys & KEY_FIRE)) {
if (IsPlayerInAnyVehicle(playerid)) {
new Float:x,Float:y,Float:z;
new Float:x2,Float:y2,Float:az;
GetPlayerPos(playerid,x,y,z);
GetVehicleZAngle(GetPlayerVehicleID(playerid), az);
x2 = x + (10 * floatsin(-az+5, degrees));
y2 = y + (10 * floatcos(-az+5, degrees));
new Obj=CreatePlayerObject(playerid,1245,x2,y2,z,0,0,az-90);
SetTimerEx("DelObj",1500,0,"d d",playerid,Obj);
}
}
}
public OnFilterScriptInit()
{
print("
----------------------------------");
print(" De[M]oN\'s [FS] Tramplins Spawn");
print("----------------------------------
");
return 1;
}
Re: [FS] Tramplins Spawn -
KrifOk - 27.06.2007
can you put here .amx file too plz plz plz plz

because my pawno don\'t want compile any pwn
Re: [FS] Tramplins Spawn -
De[M]oN - 27.06.2007
Quote:
Originally Posted by KrifOk
can you put here .amx file too plz plz plz plz  because my pawno don\'t want compile any pwn 
|
http://up.li.ru/?id=299155;tramp.amx
Re: [FS] Tramplins Spawn -
$$$PiMp - 27.06.2007
Does this put a trampaline in front of your car?
Re: [FS] Tramplins Spawn -
KrifOk - 27.06.2007
Quote:
Originally Posted by [CBK
$$$PiMp ]
Does this put a trampaline in front of your car?
|
yes it does
<removed - speak English>
Re: [FS] Tramplins Spawn -
~Hybrid~ - 27.06.2007
Quote:
Need Russian IP to access free downloads
|
wtf
Re: [FS] Tramplins Spawn -
De[M]oN - 27.06.2007
Quote:
Originally Posted by [Sco
Dave ]
Quote:
Need Russian IP to access free downloads
|
wtf 
|
plz get other file hosting, what you want =)
Re: [FS] Tramplins Spawn -
killer57 - 27.06.2007
this not work the stunt not spawn
Re: [FS] Tramplins Spawn -
pArtizAn - 27.06.2007
Mirror
http://ren.redsys.ru/_private/tramp.amx
Re: [FS] Tramplins Spawn -
traxxus - 28.06.2007
I love this script. But how i can do, that the ramp ONLY comes when the player press "Alt" on the keyboard ?
Re: [FS] Tramplins Spawn -
Warriors_Tornado - 29.06.2007
I sit in car i press mouse left and tramplin spawns front of me.
But why only for 1 sec??
CAn i set my own time hoe long trampli will stay there.??
Re: [FS] Tramplins Spawn -
Positive - 29.06.2007
Topic:
San Fierro [Tramplins]
Re: [FS] Tramplins Spawn -
De[M]oN - 02.07.2007
Quote:
Originally Posted by Warriors_Tornado
I sit in car i press mouse left and tramplin spawns front of me.
But why only for 1 sec??
CAn i set my own time hoe long trampli will stay there.?? 
|
You can change time to destroy tramp, but 1.5sec is optimal value.
SetTimerEx("DelObj",
1500,0,"d d",playerid,Obj);
1500 - time in ms to destroy tramp object, change it.
Re: [FS] Tramplins Spawn -
Dealman1 - 05.07.2007
I can\'t compile it, I copy and pasted the code to make it 3000 ms.
I get 5 errors and 5 warnings. Do I need to include anything?
Code:
C:\Documents and Settings\Dennis\Skrivbord\samp-server-0.2.1-win32\pawno\Jump.pwn(4) : error 017: undefined symbol "DestroyPlayerObject"
C:\Documents and Settings\Dennis\Skrivbord\samp-server-0.2.1-win32\pawno\Jump.pwn(6) : warning 235: public function lacks forward declaration (symbol "OnPlayerKeyStateChange")
C:\Documents and Settings\Dennis\Skrivbord\samp-server-0.2.1-win32\pawno\Jump.pwn(8) : error 017: undefined symbol "KEY_FIRE"
C:\Documents and Settings\Dennis\Skrivbord\samp-server-0.2.1-win32\pawno\Jump.pwn(14) : error 017: undefined symbol "GetVehicleZAngle"
C:\Documents and Settings\Dennis\Skrivbord\samp-server-0.2.1-win32\pawno\Jump.pwn(17) : error 017: undefined symbol "CreatePlayerObject"
C:\Documents and Settings\Dennis\Skrivbord\samp-server-0.2.1-win32\pawno\Jump.pwn(18) : error 017: undefined symbol "SetTimerEx"
C:\Documents and Settings\Dennis\Skrivbord\samp-server-0.2.1-win32\pawno\Jump.pwn(17) : warning 204: symbol is assigned a value that is never used: "Obj"
C:\Documents and Settings\Dennis\Skrivbord\samp-server-0.2.1-win32\pawno\Jump.pwn(16) : warning 204: symbol is assigned a value that is never used: "y2"
C:\Documents and Settings\Dennis\Skrivbord\samp-server-0.2.1-win32\pawno\Jump.pwn(15) : warning 204: symbol is assigned a value that is never used: "x2"
C:\Documents and Settings\Dennis\Skrivbord\samp-server-0.2.1-win32\pawno\Jump.pwn(15 -- 23) : warning 235: public function lacks forward declaration (symbol "OnFilterScriptInit")
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
5 Errors.
// Dealman
Re: [FS] Tramplins Spawn -
Warriors_Tornado - 05.07.2007
can i change time to tramplins??
Re: [FS] Tramplins Spawn -
courage - 05.07.2007
SetTimerEx("DelObj",1500,0,"d d",playerid,Obj);
Change 1500 to, i don\'t know, 2500...
Re: [FS] Tramplins Spawn -
traxxus - 06.07.2007
how i can do, that the ramp ONLY comes when the player press "Alt" on the keyboard ?
Re: [FS] Tramplins Spawn -
Warriors_Tornado - 06.07.2007
yes i wanted to ask the same and i wanted to ask how can i change the style iwant tu put only those blue ramps bigeest
i can only change the id and thats all??
Re: [FS] Tramplins Spawn -
Dealman1 - 06.07.2007
Code:
new Obj=CreatePlayerObject(playerid,1245,x2,y2,z,0,0,az-90);
SetTimerEx("DelObj",1500,0,"d d",playerid,Obj);
1245 - Is the current ID.
1500 - Is the current time in MS (Millisecconds -> 1,5seconds.)
Re: [FS] Tramplins Spawn -
Warriors_Tornado - 06.07.2007
yes i founded how to change time and how to change rampe style
I am using 1632 id. I set 1 min beceuse i like to turn back and jump again
But how can i put ramps like objects?I want to put hem on one place and i want that they are staying all the time