[SOLVED]Some GSC functions aren't working in my mod.
Featured Replies
Сейчас на странице 0
- Нет пользователей, просматривающих эту страницу
A better way to browse. Learn more.
A full-screen app on your home screen with push notifications, badges and more.
Используя этот сайт, вы соглашаетесь Условия использования.
Hello,
I started yesterday playing with GSC modding, made my first iSnipe-like mod, but I found some big problems.
Some functions don't work!
I tried
self maps\mp\perks\_perks::givePerk("throwingknife_mp"); self setWeaponAmmoClip("throwingknife_mp", 1);to give the player a TK, and it didn't work.
Then I tried
self giveWeapon("throwingknife_mp"); //Also tried with ("throwingknife_mp", 0, false) self GiveMaxAmmo("throwingknife_mp");but neither this worked.
Another issue i found is that
self thread maps\mp\gametypes\_hud_message::hintMessage("LaXiS");doesn't work, and I can't find why! (BTW if I use iPrintLn or iPrintLnBold they work)
I always put my GSC files in m2demo\scripts, I don't get any error and the modification works, but not the functions I just mentioned above. And I try them in a private match.
Who can help me? Thanks :cry: