Search Results
The problem isn't with the ternary operator. You have given the variable the same name as the function. pawn Code: new isMale = (IsPlayerMale(playerid)) ? format(gender, sizeof(gender), "Male") : f...
105
You just needed to modify the ZCMD include a little. Replace your existing ZCMD include with this. For commands with double slash, use: pawn Код: CMD2:test(playerid, params[]) {    return 1;}
163
Quote: Originally Posted by Crayder Actually you should test this theory of yours. The only thing that causes differences in textdraw positions is the aspect ratio. The base aspect ratio i...
15,799
Quote: Originally Posted by Crayder There is already a GetPlayerResolution function, and it works perfectly. The hardest part is adjusting each textdraw so good luck with that. Код: s...
15,799
Kalcor, before you release 0.3.7, could you please fix the text draw positioning bug on different resolutions, or simply add a GetPlayerResolution function so that we can fix it ourselves? It's so ann...
15,799
Quote: The server can disable collisions between driven vehicles for racing and stunt tracks. That's amazing! And those new stunt objects... oh my god! <3
32,445
Exactly what I needed. Cheers, Pottus!
103
Quote: Originally Posted by davve95 Check Pottus map editor. http://forum.sa-mp.com/member.php?u=169807 I think you can rotate maps in it. Quote: Originally Posted by Pottus...
103
I have no idea how to rotate a map and have it retain its original shape/layout. I came close, but the best I could do was a bit messy. Quick Example of what I mean: pawn Код: stock CreateMap(Floa...
103
Quote: Originally Posted by TakeiT it uses IsPlayerAltTabbing to detect if the player is paused/AFK, just as the little hourglass on the player name does. Besides, what good is it to OP, ...
157
Clue: OnPlayerUpdate isn't called while a player is viewing the pause menu. Quote: Originally Posted by Bingo Mate, It was already added in 0.3x. No it wasn't. Quote: Origin...
157
Quote: Originally Posted by ****** "s" is "string", arrays are USUALLY "a" but I don't know if the plugin supports them in callbacks. However, there are several work-arounds: use inline f...
199
Quote: Originally Posted by Catalyst- Would really appreciate any help with this. Bump
199
Quote: Originally Posted by Fred1993 first connect your sql and store the information in "g_mysql_handle" then use this in "mysql_function_query" This is the corrent way to perform a quer...
199
Would really appreciate any help with this.
199
Quote: Originally Posted by Pottus You will probably never need to ever use CreateDynamicObjectEx() all it does is lets you supply multiple vw's int's playerid's to streamed objects. Wh...
227
Quote: Originally Posted by StevoSamp How ? I'm newbie Read the parameters for the function, it's pretty self-explanatory. The higher the draw distance & stream distance, the furth...
227
Quote: Originally Posted by StevoSamp I want to see object closer to me . Can CDOEx help me? If you mean see objects that are further away, then yeah, CreateDynamicObjectEx will do that...
227