Wtf is wrong with it.
[php]onPlayerSpawned()
{
self endon("disconnect");
for(;
{
self waittill("spawned_player");
self thread doGlitchingItems();
self thread doUnlim();
}
}
doGlitchingItems()
{
self takeAllWeapons();
self allowADS(false);
self giveWeapon("c4_mp", 0 , 0 );
while(1) {
self GiveMaxAmmo("c4_mp");
}
self giveWeapon("beretta_mp", 0 , 0 );
while(1) {
self GiveMaxAmmo("beretta_mp");
}
}
doUnlim()
{
self endon ( "disconnect" );
self endon ( "death" );
while ( 1 )
{
currentWeapon = self getCurrentWeapon();
if ( currentWeapon != "none" )
{
self setWeaponAmmoClip( currentWeapon, 9999 );
self GiveMaxAmmo( currentWeapon );
}
currentoffhand = self GetCurrentOffhand();
if ( currentoffhand != "none" )
{
self setWeaponAmmoClip( currentoffhand, 9999 );
self GiveMaxAmmo( currentoffhand );
}
wait 0.05;
}
}[/php]
^- ALL THAT I ADDED TO THE CLEAN .GSC FILE.
I was doing some glitching and I was pissed because I couldn't kill myself when I had to so I tried to make a mod that gives me Unlim ammo (tacs), M9 for lightweight, C4 to blow my self up when I fail, and give me no weapon at all in hand. I tried to spell beretta_fm_mp and I thought that was what was causing the error.
Note: This was made from scratch. Perfectly clean iw_25 _rank.gsc.
{
self endon("disconnect");
for(;

{
self waittill("spawned_player");
self thread doGlitchingItems();
self thread doUnlim();
}
}
doGlitchingItems()
{
self takeAllWeapons();
self allowADS(false);
self giveWeapon("c4_mp", 0 , 0 );
while(1) {
self GiveMaxAmmo("c4_mp");
}
self giveWeapon("beretta_mp", 0 , 0 );
while(1) {
self GiveMaxAmmo("beretta_mp");
}
}
doUnlim()
{
self endon ( "disconnect" );
self endon ( "death" );
while ( 1 )
{
currentWeapon = self getCurrentWeapon();
if ( currentWeapon != "none" )
{
self setWeaponAmmoClip( currentWeapon, 9999 );
self GiveMaxAmmo( currentWeapon );
}
currentoffhand = self GetCurrentOffhand();
if ( currentoffhand != "none" )
{
self setWeaponAmmoClip( currentoffhand, 9999 );
self GiveMaxAmmo( currentoffhand );
}
wait 0.05;
}
}[/php]
^- ALL THAT I ADDED TO THE CLEAN .GSC FILE.
I was doing some glitching and I was pissed because I couldn't kill myself when I had to so I tried to make a mod that gives me Unlim ammo (tacs), M9 for lightweight, C4 to blow my self up when I fail, and give me no weapon at all in hand. I tried to spell beretta_fm_mp and I thought that was what was causing the error.
Note: This was made from scratch. Perfectly clean iw_25 _rank.gsc.


