#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;
}
because my pawno don\'t want compile any pwn
|
Originally Posted by KrifOk
can you put here .amx file too plz plz plz plz
because my pawno don\'t want compile any pwn ![]() |
|
Originally Posted by [CBK
$$$PiMp ]
Does this put a trampaline in front of your car? |
|
Need Russian IP to access free downloads |
|
Originally Posted by [Sco
Dave ]
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.?? ![]() |
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.
new Obj=CreatePlayerObject(playerid,1245,x2,y2,z,0,0,az-90);
SetTimerEx("DelObj",1500,0,"d d",playerid,Obj);
