maddinat0r / samp-tsconnector

A plugin for SA-MP to control a Teamspeak3 Server from the gamemode
MIT License
17 stars 3 forks source link

old channel id in callback "TSC_OnClientMoved" #12

Open maddinat0r opened 9 years ago

maddinat0r commented 9 years ago

I should change the to_channelid parameter in callback TSC_OnClientMoved to old_channelid, since this should have more use. The current channel id (which is already updated when that callback is called) can be retrieved through TSC_GetClientChannelId, thus this would be the replacement to to_channelid. However, this is not a small change and would require PAWN script adjustments, so I should think that through.