Post: Trampline code
09-02-2012, 05:32 PM #1
LightModz
League Champion
(adsbygoogle = window.adsbygoogle || []).push({}); this code creates a trampoline but has one bug, only the host can use it... i have no idea why :fa: if u have any ideas on how to fix it please post below or private message me. Smile

    doTramp()
{
self thread Bouncetramp();
self beginLocationselection("map_artillery_selector",true,(level.mapSize / 5.625));
self.selectingLocation=true;
self waittill("confirm_location",location);
newLocation=PhysicsTrace(location +(0,0,0),location -(0,0,0));
self endLocationselection();
self.selectingLocation=undefined;
iPrintln("Trampoline spawned");
level.tramp=[];
trampNum=0;
for(x=1;x<=7;x++)
{
for(y=1;y<=14;y++)
{
level.tramp[trampNum]=spawn("script_model",newLocation+(0+(x*5Cool Man (aka Tustin),0+(y*2Cool Man (aka Tustin),44.5));
level.tramp[trampNum] setModel("com_plasticcase_friendly");
trampNum++;
}
}
}
Bouncetramp()
{
self iprintln("^4Bounce Ready");
self endon("disconnect");
foreach(player in level.players){
for(;Winky Winky
{
foreach(pkg in level.tramp)
{
if(distance(player.origin,pkg.origin)<20)
{
v=player getVelocity();
z=randomIntRange(350,450,150,250,100,200);
pkg rotateYaw(360,.05);
foreach(dbag in level.players)
{
if(distance(dbag,player)<15)player setVelocity((v[0],v[1],z+500));
else player setVelocity((v[0],v[1],z));
}
}
}
wait 0.03;
}
}}
(adsbygoogle = window.adsbygoogle || []).push({});
09-02-2012, 07:19 PM #2
IVI40A3Fusionz
Former Gaming Squad Member
Did you make this because there are so many Trampoline scripts out there :lol:.
09-02-2012, 08:03 PM #3
RaspberryIce
Bounty hunter
There Is Already Trampolines That Everyone Can Use stare
Oh Yeah , And It's Trampoline , Not "Trampiline"
:trollSad Awesome
09-02-2012, 11:44 PM #4
LightModz
League Champion
Originally posted by IVI40A3Fusionz View Post
Did you make this because there are so many Trampoline scripts out there :lol:.

nope didnt make it and i didnt see any scripts out there? this was in my old script note pad i have :lol:
also checked if it was already posted... may of not detected because i miss spelt it :L

---------- Post added at 06:44 PM ---------- Previous post was at 06:43 PM ----------

Originally posted by PlayerClanHacks View Post
There Is Already Trampolines That Everyone Can Use stare
Oh Yeah , And It's Trampoline , Not "Trampiline"
:trollSad Awesome

link meh because i didnt find any
09-02-2012, 11:45 PM #5
IVI40A3Fusionz
Former Gaming Squad Member
Originally posted by LightModz View Post
nope didnt make it and i didnt see any scripts out there? this was in my old script note pad i have :lol:
also checked if it was already posted... may of not detected because i miss spelt it :L

---------- Post added at 06:44 PM ---------- Previous post was at 06:43 PM ----------


link meh because i didnt find any

I'm guessing your searching skills aren't very good :L You must login or register to view this content.

The following user thanked IVI40A3Fusionz for this useful post:

247Yamato
09-02-2012, 11:46 PM #6
LightModz
League Champion
Originally posted by IVI40A3Fusionz View Post
I'm guessing your searching skills aren't very good :L You must login or register to view this content.

ryan :lol: im talking about ngu search lol ^^
09-02-2012, 11:48 PM #7
IVI40A3Fusionz
Former Gaming Squad Member
Originally posted by LightModz View Post
ryan :lol: im talking about ngu search lol ^^


No one releases any good shit on NGU ^^ Se 7ensins, MPGH and itsmods etc get all the good mods for COD4, W@W and MW2 mainly because that's where the PC and XBOX coders are at.
09-02-2012, 11:49 PM #8
LightModz
League Champion
Originally posted by IVI40A3Fusionz View Post
No one releases any good shit on NGU ^^ Se 7ensins and MPGH etc get all the good mods for COD4, W@W and MW2 mainly because that's where the PC and XBOX coders are at.


ngu is the best for community wise those IMO ngu <3 :rainbowcry:
09-02-2012, 11:50 PM #9
IVI40A3Fusionz
Former Gaming Squad Member
Originally posted by LightModz View Post
ngu is the best for community wise those IMO ngu <3 :rainbowcry:


Na NGU's fully of little kids that steal other peoples work go to the sites i just said and you'll see a real community of coders Winky Winky.

The following user thanked IVI40A3Fusionz for this useful post:

Vampytwistッ
09-03-2012, 12:19 AM #10
Harry
Former Staff
Originally posted by IVI40A3Fusionz View Post
Na NGU's fully of little kids that steal other peoples work go to the sites i just said and you'll see a real community of coders Winky Winky.


Once people get used to us, we can be quite a good bunch of people :carling:

The following 2 users say thank you to Harry for this useful post:

IVI40A3Fusionz, Vanz

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo