• question about pocket swep and networkedvariables
    0 replies, posted
Hello facepunch, i think this is going to be my last post before my vacs :( sad face its a Help thread and not a release... But today i got an issue i've been trying to fix somehow, since i didn't got it, i'll give a try over here... to see if someone can help me... I'm currently trying to make the pocket entity store the variables from a printer, lets say the printer GetNWInt("stored_money") is higher than 0, then when i pocket it it will store the NetworkedInt, after i drop it it will returns with the printer value... I found 2 things that makes me think it will be kinda impossible to do this... First off: ent:Remove() when pocketing the item.. ( then i thought well, i can store the variables before the ent:Remove() ) ent:Spawn() since the ent got removedn and now spawned, it will return the ENT:Initialize() variables, so i might update 'em after Initialize, then give the stored values after spawn... Thanks :P
Sorry, you need to Log In to post a reply to this thread.