12.08.2016, 21:09
Here's my code: http://pastebin.com/QaYhw2KR
I need suggestion how to improve the current job system I have as I am new to pawn. But my problem right now is that the job is not being loaded upon restart. I have actors that are supposed to be created when jobs are loaded. Actors spawn when I create the jobs, but they aren't loading after a restart. This is my code, and OnGameModeInit I added LoadJobs();
How does this work with the actor by the way? Any way I can use "InRangeOfActor" ish thing to make a person able to use a command once the player is close to one of the actors and get the job id?
Using izcmd sscanf streamer.
I need suggestion how to improve the current job system I have as I am new to pawn. But my problem right now is that the job is not being loaded upon restart. I have actors that are supposed to be created when jobs are loaded. Actors spawn when I create the jobs, but they aren't loading after a restart. This is my code, and OnGameModeInit I added LoadJobs();
How does this work with the actor by the way? Any way I can use "InRangeOfActor" ish thing to make a person able to use a command once the player is close to one of the actors and get the job id?
Using izcmd sscanf streamer.