Quote:
Originally Posted by fysiks
My motive is that in DOD there is not a preset lastinv when you spawn. You have to select a weapon first to activate lastinv, if you know what I mean.
|
I'm sort of confused here but why can't you send commands to the client?
If you are trying to set the clients lastinv weapon just do something like this when they received their weapons:
PHP Code:
client_cmd(iClient, "slot2;lastinv"); // Change slot2 to the number you want as their lastinv.
If you are trying to remove the clients from using lastinv just block the command until they switch weapons once.
But, if you can do it the way stupok mentioned that would be a lot better (as long as the CBase offsets aren't changing).