26.10.2011, 15:16
Finally back from the inactivity.
Thank you for the replies. I'll work on the suggestions soon.
@Gamer_Z: Your Drift plugin gave me some tips to learn.
If I do that, 4 Textdraws will take up 2000 slots because we need to create textdraws for each player. (In-case you have MAX_PLAYERS 500)
Take vehicles for example: If you set a parameter on a vehicleid, it will change for everyone.
Similarly, setting a textdraw string will change for everyone.
Conclusion: playerid parameter is possible but highly inefficient.
* Correct me if I'm wrong.
Thank you for the replies. I'll work on the suggestions soon.
@Gamer_Z: Your Drift plugin gave me some tips to learn.
Quote:
nice
Can you add a "playerid" param to all functions ? For example if in TD_SetString parametr playerid will be set to another value then -1 the "textstring" will be only displayed to player with id in param "playerid" |
Take vehicles for example: If you set a parameter on a vehicleid, it will change for everyone.
Similarly, setting a textdraw string will change for everyone.
Conclusion: playerid parameter is possible but highly inefficient.
* Correct me if I'm wrong.