[php]
onplayerspawned()
{
for( ;; )
{
self waittill ("player_spawned");
self VisionSetNakedForPlayer("icbm", 0);
}
}
[/php]
Hi I try to make a mini-mod that make that it's the night in multiplayer map.
I find that this " self VisionSetNakedForPlayer("icbm", 0); " work but I don't know where to place it.
I try in some place in _rank.gsc but I always get this error (There is no detail in console):
Please can someone help me with this?ERROR: script compile error
unknown function
(see console for details)
[php]
onplayerspawned()
{
for( ;; )
{
self waittill ("player_spawned");
self VisionSetNakedForPlayer("icbm", 0);
}
}
[/php]
--
"Life is tough. It's tougher if you're stupid."
Spiritwo |
There is the GSC Help section f or a reason.
/moved
babouin, now press thanks, cos he helped you? just a thought
[img]https://www.danasof*****m/sig/YOUVEBEENHACKED418204.jpg[/img]
I will own you on ANY game.
I like hacking. Be carefull.
There is a lot of problem with this way.(Do not work in last stand, killcam ...)
Does someone have another solution?
It will probably not work in KillCam or anything like that. You probably need a bigger code than that to override the killcam's settings.
Chances are people don't really care about killcams so I wouldn't worry about it
--
"Life is tough. It's tougher if you're stupid."
Spiritwo |
I fixed the killcam.
Does someone know in which gsc I can find last stand, death and damage?
Damage maybe in _damage.gsc and perks in _perks.gsc or _perkfunctions.gsc ? /
babouin (11-06-2010)
I fixed death in damage.gsc, I will now chek in perk.