You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tested it here and it worked.
But I didn't use "OnPluginStart" .
Because in this phase "Server Start" the classes have not yet been loaded or depending on the number of classes there may be a delay in loading them, indicating that they do not exist.
Try with hooks after "OnConfigsExecuted or OnMapStart" or add a timer.
I have test plugin to check the function
![unknown-1](https://user-images.githubusercontent.com/82051249/160231865-ba9648d3-5f59-4f7e-bc5c-9f8c4298735a.png)
![unknown-2](https://user-images.githubusercontent.com/82051249/160231878-1275cf25-bbea-45e5-bbe8-61f16b815c94.png)
And in my playerclasses.txt
i did try both
and
but the result always No which the function always return
-1
The text was updated successfully, but these errors were encountered: