Not sure who to quote, but case understood.
And of course 3 lines ain't much, it's just that if we need to use them often, and the first 2 lines really rarely, it might start feeling useless coding. Well it's not useless, but I think you got the point.
But it's just an other suggestion, you're the one's who decide whether it's a good one, or a bad one.
Also, I'm new here, so just saying, fantastic job with the plugin guys, keep on developing, looks awesome so far. :P
Basic script help
Spiked wrote:Sweet, I nailed it.
Thanks for the clarification. Since you are also the one working on most of the documentation so far, can we expect to maybe see a reference page with a listing for where and when player is used vs index?
I'm assuming again... but it seems like both values are relevant to the engine?
I am sure we will eventually get more documentation published, its a lot of work... Yes we will specify when to use indexes, and when to use userids.
As I wrote earlier in the thread, pretty much "nothing" actually "uses" a player's userid, so our API will be designed to utilize the same inputs that the engine requires. Events pass "userids" so that they can differentiate properly between players, since, again, indexes can get reused. You will pretty much always need to convert the userid to something (or multiple things: index, edict, iplayerinfo instance, handle, etc...) to use it properly.Spiked wrote:Thanks for the clarification. Since you are also the one working on most of the documentation so far, can we expect to maybe see a reference page with a listing for where and when player is used vs index?
Satoon
Return to “Plugin Development Support”
Who is online
Users browsing this forum: No registered users and 37 guests