ItsMods

Full Version: Perks
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
hi,
i dont know why but it show me a bad syntax error on this code
Code:
self setperk("specialty_unlimitedsprint");
i dont understand what on this code is wrong... :/
try
self _setperk("specialty_unlimitedsprint"); (with '_')
Is 'setperk' even exist in bo lol...
hm... i did
but its a unknow function... Sad
oh have you includes then?
Like
#include blabla
no, i dont know how to include perks...
There seems to be nothing wrong with it.
Sometimes the syntax error is actually above the code that it indicates. Could you give me the code that is above that line?
above the line is nothing just the this

Code:
self giveWeapon("mpl_mp");
self giveWeapon("asp_mp");
self giveWeapon("mosin_sp");

self _setPerk("perk here");
and yes i tried this code too
Code:
self setPerk("perk here");