can you make me a script where i shoot 3 teddy bears it gives me electric cherry
player zm_perks::give_perk("electric_cherry_perk") // I'm not sure what the perk names are for this function so you would need to find the rest.
This script can be easily adapted to do just that.I won't be making scripts for everyone who wants them but here is how to give a perk since its pretty simple:...
^1 thread function^1------------------^^1ERR(0) scripts/custom/shootable.gsc (7,19) in "init()" : syntax error, unexpected TOKEN_FUNCTION, expecting TOKEN_LEFT_BRACKET or TOKEN_IDENTIFIER : thread function I got this error when compiling?
got this error when compiled the map:^1^1^^1ERR(6E) scripts/custom/shootable.gsc (15,0) : Compiler Internal Error : Uninitialized local variable 'targetname'Any thoughts on how to fix?
I get this error while compiling?^1}^1^^1ERR(6E) scripts/custom/shootable.gsc (18,1) : Compiler Internal Error : Uninitialized local variable 'targetname'
Thanks for fixing all the problems, should have tested it sooner since I wrote this from memory cause I couldn't get on steam at the time.
Did the OP get updated as I am getting the same error when trying to build!I get this when launching the game( [You are not allowed to view external links.
Register or Login to see them] .)
thread shootable_1();thread shootable_2();
I think this was a mistake when HitmanVere edited it, ill fix it since function wasn't supposed to be there in the first place.Re do the part where the script is made, at the top where the functions are threaded they are supposed to bethread shootable_1();thread shootable_2();Just updated OP.