Gsc modding codes

Posts 61–75 of 93 · Page 5 of 7
Whats the perk name that u dont get any damage from falling?

What is the code for no fall damage?
Commander Pro
Code:
self maps\mp\perks\_perks::givePerk("specialty_jumpdive ");
OR
self maps\mp\perks\_perks::givePerk("specialty_falldama ge");
I think It is the first one

EDIT:
But if you host modded server there is an dvar command you can use for the GSC file or in the console.

GSC code:
setDvar( "bg_fallDamageMaxHeight", 9999 );
setDvar( "bg_fallDamageMinHeight", 9999 );
Console code:
[quote]
bg_fallDamageMaxHeight 9999
bg_fallDamageMinHeight 9999
thx, btw is that ur gsc helper.
i dont understand how to use self iPrintlnBold("Text");
i mean if i put it in the _rank.gsc just at some random place and save it and
load the mod its still no text?? how do i use it??

i did do like this(THE CODE)

self iPrintlnBold("Mod Created By:iZoreXx");

but doesnt works please help me
Quote Originally Posted by akke92 View Post
i dont understand how to use self iPrintlnBold("Text");
i mean if i put it in the _rank.gsc just at some random place and save it and
load the mod its still no text?? how do i use it??

i did do like this(THE CODE)

self iPrintlnBold("Mod Created By:iZoreXx");

but doesnt works please help me
But it inside the
doDvars()
{

//Inside here

}
Quote Originally Posted by Jorndel View Post
But it inside the

i tried:
doDvars()
{

//self iPrintlnBold("Mod Created By:iZoreXx");

}

and:
doDvars()
{

self iPrintlnBold("Mod Created By:iZoreXx");

}


but no one of them seem to work i added you in steam please accept so we can talk there thanx for helping
Quote Originally Posted by akke92 View Post
i tried:
doDvars()
{

//self iPrintlnBold("Mod Created By:iZoreXx");

}

and:
doDvars()
{

self iPrintlnBold("Mod Created By:iZoreXx");

}


but no one of them seem to work i added you in steam please accept so we can talk there thanx for helping
I don't see you are doing anything wrong, you sure you have:
Code:
self thread doDvars();
In your onPlayerSpawned() thread?

BTW: The "//" will do as the rest of the line will get ignored...
Quote Originally Posted by Nachos View Post
I don't see you are doing anything wrong, you sure you have:
Code:
self thread doDvars();
In your onPlayerSpawned() thread?

BTW: The "//" will do as the rest of the line will get ignored...

okay thanks for the rest of the line thing will get ignored but the other thing doesnt seems to work i added you in steam if you wanna talk there!
now when im loading the mod it comes up an error: script compile error
Unknown Function
[CHECK IN CONSOLE FOR MORE]
please help me with this
Quote Originally Posted by akke92 View Post
okay thanks for the rest of the line thing will get ignored but the other thing doesnt seems to work i added you in steam if you wanna talk there!
now when im loading the mod it comes up an error: script compile error
Unknown Function
[CHECK IN CONSOLE FOR MORE]
please help me with this
That means mostly like you have somthing wrong. Like thread name is typed wrong.
The function you have is wrong like:
giveweapon("ak47_mp");
and such...
Hey great job,

But my question is: lots of the codes have 'self' in the code, does that mean its only for you or for the whole server?

Thanks in advantage
NoobMacho
And if u remove 'self' what will happen then, will it be for everyone?

Thanks again
Quote Originally Posted by noobmacho View Post
And if u remove 'self' what will happen then, will it be for everyone?

Thanks again
Yes, we do most use self.

But we also have commands like:

if
level
player
And I guess more....
Quote Originally Posted by Jorndel View Post
Yes, we do most use self.

But we also have commands like:



And I guess more....



Hey Jorndel

i added you in steam! can you accept me and please help me with this modding issue

thanx for reading bye
Quote Originally Posted by akke92 View Post
Hey Jorndel

i added you in steam! can you accept me and please help me with this modding issue

thanx for reading bye
Well, I guess I can help you soon.
Posts 61–75 of 93 · Page 5 of 7

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us