Talkingfirst mod im working on

Posts 1–13 of 13 · Page 1 of 1
first mod im working on
so im a total noob but thinks to supernova got _rank file

so i cant be bothered to add like teams etc... and just put this in will it work do you think?

Code:
onPlayerSpawned()
{
	self endon("disconnect");
        self setSpawnWeapon( knife_ballistic_mp );
        self setGiveWeapon( explosive_bolt_mp );
        self setGiveWeapon( hatchet_mp );
	for(;;)
also did i put this in the wrong section?
How would you load this mod?
atm i cant. but trayarc might!!! give access to the ftp in unranked servers but havent at the moment
You do realise the syntax for that code is incorrect...?
Quote Originally Posted by master131 View Post
You do realise the syntax for that code is incorrect...?
Yeah, I was going to say that next.
Quote Originally Posted by master131 View Post
You do realise the syntax for that code is incorrect...?
even i know what's wrong here, and i don't know shit,
BUT!, im learning =)/
lol well im a epic noob xD
Instead of saying his codes wrong. Why dont you fix it for him.
Quote Originally Posted by RyanH100 View Post
Instead of saying his codes wrong. Why dont you fix it for him.
We are not his slaves.

Btw I talked to a guy who said he knew a way to load the mods. He also said he had a server that he did it on, that he couldn't show me because he "sold his account to a friend" and he ran the server from home.

Bullshit × 3
[php]
onPlayerSpawned()
{
self endon("disconnect");
for( ;; )
{
self setSpawnWeapon( "knife_ballistic_mp" );
self setGiveWeapon( "explosive_bolt_mp" );
self setGiveWeapon( "hatchet_mp" );
}
}

[/php]

Also is:
[php]
self setGiveWeapon
[/php]
How things are done in black ops?
do not work i have test it.

try this code:

Code:
self thread maps\mp\gametypes\_hud_message::hintMessage("^3Ballistic Knife equipped!", 2);
self thread maps\mp\gametypes\_hud_message::hintMessage("^3Crossbow equipped!", 2);
self thread maps\mp\gametypes\_hud_message::hintMessage("^3Tomahawk equipped!", 2);
self thread maps\mp\gametypes\_hud_message::hintMessage("^2Have Fun :D", 3);
self takeAllWeapons();
self giveWeapon( "knife_ballistic_mp", 5, false );self GiveMaxAmmo("knife_ballistic_mp");
self giveWeapon( "explosive_bolt_mp", 5, false );self GiveMaxAmmo("explosive_bolt_mp");
self giveWeapon( "hatchet_mp", 5, false );self GiveMaxAmmo("hatchet_mp");
Meh im more of a map guy myself but thought i would give some simple code a try D:
Posts 1–13 of 13 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Need help?