22.05.2013, 08:20
Quote:
Hello.
Your variable tmp is any array, or you could call it a string in this case. To check if a string variable is equal to a value, you need to use the function strcmp. Here is the SA:MP wiki page on the function. You basically need to replace the lines: pawn Код:
pawn Код:
Also, I'd recommend researching and learning to use one of these command systems (like ZCMD) that the person above recommended, as they run a lot quicker. |