SA-MP Forums

Go Back   SA-MP Forums > Members List

Y_Less Reputation above 1000 pointsY_Less Reputation above 1000 pointsY_Less Reputation above 1000 pointsY_Less Reputation above 1000 pointsY_Less Reputation above 1000 pointsY_Less Reputation above 1000 pointsY_Less Reputation above 1000 pointsY_Less Reputation above 1000 pointsY_Less Reputation above 1000 pointsY_Less Reputation above 1000 pointsY_Less Reputation above 1000 points

Y_Less Y_Less is offline

Beta Tester

Visitor Messages

Showing Visitor Messages 1 to 10 of 2960
  1. ipsLeon
    29/03/2015 04:37 PM
    ipsLeon
    Oh, then my TextDraws are wrong, i have to index it for MAX_PLAYERS, thanks for explaining, i was totally confused...
  2. Y_Less
    29/03/2015 04:35 PM
    Y_Less
    No, that's NOT wrong! It is 256 TDs PER PLAYER, not 256 total. So if you create a PTD for player 0, and another one for player 3, they are DIFFERENT text draws, even if they say exactly the same thing.
  3. ipsLeon
    29/03/2015 04:27 PM
    ipsLeon
    Sure, thanks, but i think everybody declares the textdraws global cause you need to get the var to use afterwards to do something... But its nice, i see a lot of people declarating global PlayerTextDraws with MAX_PLAYERS index, thats totally wrong, thats why i came here to ask you, some users still doing this mistake.

    Even on wiki page people did it O.o



    Limit of player textdraws: 256

    new PlayerTextDraw:Text[500] <--- 500 PlayerTextDraws? lol
  4. Y_Less
    29/03/2015 03:27 PM
    Y_Less
    Those are all globals, so that's fine.
  5. ipsLeon
    29/03/2015 02:20 PM
    ipsLeon
    Emm, sorry for asking a lot, i don't want to waste your time, i just do PlayerTextDraws by this way: http://pastebin.com/2CSvh1pp, i can probably get wrong textid by this way? If yes, what else i should do?
  6. ipsLeon
    29/03/2015 01:07 PM
    ipsLeon
    Can you make an example for the right way to store and get them? I'm really confused now
  7. Alex Magaņa
    28/03/2015 11:58 PM
    Alex Magaņa
    Alex when you got time check reports ban evaders (exposed).
    I'm trying my best to help community too!
  8. Y_Less
    28/03/2015 11:43 PM
    Y_Less
    They have indexes regardless of whether you store them or not. If you don't store them, you will probably get the wrong one.
  9. ipsLeon
    28/03/2015 08:54 PM
    ipsLeon
    Hey Alex, according to this post, it means that PlayerTextDraws have to be indexed? But if i create 10 PlayerTextDraws indexed with playerid parameter, and i have 200 players online, it means that i'll be creating 2000 PlayerTextDraws if i index it?

    Example:

    new PlayerText:PText[MAX_PLAYERS]; // = 500 playertextdraws?

    new PlayerText:Text; //= its wrong?
  10. Wolfe
    28/03/2015 06:26 PM
    Wolfe
    Hey, do you know why I can't post in the advert section? (I have 16 REP, and 30+ (Month) days)

About Me

Statistics

Total Posts
Visitor Messages
General Information
  • Last Activity: 29/03/2015 09:58 PM
  • Join Date: 02/06/2008

Friends

Showing Friends 1 to 10 of 837

All times are GMT. The time now is 11:46 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2015, Jelsoft Enterprises Ltd.