Problem with DataPacks
PHP Code:
Code:
[SM] Native "PrintToChat" reported: Client index 431227078 is invalid crap nvm i was using wrong variable :D |
Re: Problem with DataPacks
you forgot to reset the pack. Also your passing a handle to a native expecting client index, I'm assuming you meant to use the variable client instead of data.
|
Re: Problem with DataPacks
Quote:
Code:
public MenuHandler(Handle:menu, MenuAction:action, param1, param2) Code:
public MenuHandler(Handle:menu, MenuAction:action, param1, param2) |
Re: Problem with DataPacks
As a general rule, I do ResetPack as soon as I write the last data value. That way, even if you forget to ResetPack before reading, you've already reset it.
|
Re: Problem with DataPacks
Quote:
|
Re: Problem with DataPacks
Quote:
|
Re: Problem with DataPacks
Quote:
|
All times are GMT -4. The time now is 03:04. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.