Easy question userfiles
#1

Hi everyone, how can i read my userfiles enum from my game mode in my filter script? So i can do for example in my car system if(PlayerInfo[pInfo][pJobs] == 1) - *this is data from my user files*

anyone? i guess its pretty simple

@anyone? really need it to crack on
Reply
#2

since no one wil probably answer.. i can only think of https://sampwiki.blast.hk/wiki/CallRemoteFunction

so u make a function in your gamemode to return True or False if (PlayerInfo[pInfo][pJobs] == 1 is true,
then u call this function from ur filterscript with CallRemoteFunction()..
Reply
#3

thanks mate, +rep
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)