PVars, pragma etc.
#1

Is there still "bug" with PVars - when restarting sever with GMX PVars destroys ? (0.3b)

When do i need to use #pragma
For example i dont use params in zcmd/dcmd command.. i need to define it (#pragma unused params) ?
If it`s suggested then what does it give? (Stable script, unwaste bytes or whaat?)
Reply
#2

Not sure about the pvars, but I think that they reset.
I suggest you to use OnPlayercommandtext for the cmds you dont use params, because it will be faster (tested)
Reply
#3

Mostly i want to know about pragma usage.

... i want that proof too
Reply
#4

You can create a workaround for saving PVars and loading them again, if you need to, it's not that hard.

https://sampforum.blast.hk/showthread.php?tid=136868 - Joe Staff (SilentHunteR) even made a function to save all PVars, and for loading too.

As for the largest retard of the forum:
Quote:

Not sure about the pvars, but I think that they reset.
I suggest you to use OnPlayercommandtext for the cmds you dont use params, because it will be faster (tested)

I'd love to see some speed results myself.

And for #pragma unused in commands, check what ****** posted. Though, it's a requirement for dcmd.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)