FilterScript Problem
#1

I downloaded a phone textdraw filterscript it works good and all, but the problem is that it gives you a new random
phone number every time you log.
I tried to use PlayerInfo[playerid][pPhonenumber] That i use in my gamemode but it says undefined or something.
All i need is to find a way to link this fs to gamemode so that it can retreive info from it.
Thanks In Advance.
+1 rep and respect
Reply
#2

Use PVars inside your gamemode for such things. I.e. remove the original pPhonenumber enum and swap it all using PVar functions. Then you will be able to access the same PVar from filterstripts.

Another way would be to edit this filterstript to use your gamemode storage-system via CallRemoteFunction
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)