Post: [Script] Throw Soccerballs Mod! FutureOps
02-10-2013, 11:07 PM #1
FutureOps
Little One
(adsbygoogle = window.adsbygoogle || []).push({}); Throw Soccerballs![/COLOR][/FONT]

FutureOps here with a new script! This will allow you to toss soccerballs. Its coded so when you toss one the obj. Will stay until you throw the next then it deletes last model spawn so you wont get an overflow [Unless a bunch of people are using at same time ]



Precache This:
    precacheModel("soccer_ball");


Script
    
OpsBallsLOL()
{
//Leave Header Intact
//Created By FutureOps
//AKA xDerpModz
//Dont Think About Making
//A Dodgeball Gamemode With This
//Mines Already In Development!
//Thanks To Cmd-X
//For The Water Balloons Script
self endon("death");
self endon("disconnect");
if( getDvar( "mapname" ) != "mp_favela" )
{
self iPrintlnBold("^5Soccerball Doesnt Work On This Map");
}
else
{
self thread startBallMod();
}
}
startBallMod()
{
self takeAllWeapons();
self giveWeapon("frag_grenade_mp",1,false);
self iPrintlnBold("^0[{+frag}] To Throw ^5Soccerball!");
self iPrintlnBold("^0Cre ated By: ^5FutureOps");
for( ;; )
{
self waittill("grenade_fire",grenade,weapname);
if(weapname=="frag_grenade_mp")
{
Socc = spawn("script_model",grenade.origin);
Socc setModel("soccer_ball");
Socc linkTo(grenade);
wait 3.5;
self iPrintlnBold("^5Next Ball Ready!");
self waittill("grenade_fire");
Socc delete();
wait 0.5;
self giveWeapon("frag_grenade_mp",1,false);
wait 0.5;
}
}
}
Last edited by FutureOps ; 02-11-2013 at 03:14 AM. Reason: Replaced Hud Messages

The following 12 users say thank you to FutureOps for this useful post:

Bucko, Flamby, HanleyzHD♚, IIxJ4TxII, ImGsus, JackMods-, ResistTheJamsha, SUBARUDEMON, TheHolyMart, xePixTvx, xExploitModzHD
02-12-2013, 05:14 PM #20
Originally posted by x View Post
Shouldnt it be

    if( getDvar("mapname") != "mp_favela")
{
self thread startBallMod();
}
else
{
self iPrintlnBold("^5Soccerball Doesnt Work On This Map");
}


and dodgeball has already been made :P


He's making a Newer Version Winky Winky To be honest from what ive seen him make up to yet, I actually cant wait for release :love:
02-12-2013, 11:49 PM #21
FutureOps
Little One
Originally posted by x View Post
Shouldnt it be

    if( getDvar("mapname") != "mp_favela")
{
self thread startBallMod();
}
else
{
self iPrintlnBold("^5Soccerball Doesnt Work On This Map");
}


and dodgeball has already been made :P


stNo because look its got the exclamation which makes it a "is not" statement. Therefore its saying basically "If the map is not favela then Print message, and that leaves the else statement which makes it jump to its thread. Plus its clearly tested in the video and working as I chose afghan at first to make sure message worked, and ik Chrome Playa made a dodgeball but that's throwing knifes im making this version different as you throw REAL balls (no homo lol) and it will have a cash system etc. where you can buy specialties that last for limited time. It will be a lot more unique

Copyright © 2025, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo