Search Results
I'm working on something similar as well, although a bit more MMORPG like (not survival though, more like GTA Online).
161
What exactly do you mean? Checking if the player inputs the same password twice?
142
The size you defined for vehicle is probably too small. I believe it's trying to access vehicle[1500] but it only goes up to vehicle[1499].
58
To explain it: format changes the string you are formatting to its content and replaces specifiers given with variables. So what you would just have to do, like the person above me did, is send the st...
109
Is the data checked at the end of a timer or every time a player gets/changes weapon? Also, it's probably better to check that with variables in the script instead of MySQL.
119
Quote: Originally Posted by Mauzen In programming, theres a thing called "variable". You create it in the script, and then you can use it to store certain data directly in RAM for fast acc...
117
Cool, I can do that. Thanks for your input, guys!
117
Did you check OnPlayerTakeDamage and OnPlayerDeath for possible timers?
108
In which function are you running these?
167
Is the pInfo[playerid][Name] variable set upon the player connecting?
141
The errors you showed have nothing to do with the line of code that you've put on here. Show us the lines where the errors occur, you might have mistyped the function or you forgot a bracket (assuming...
167
What the title says, is it acceptable to send a SELECT statement to a MySQL database OnPlayerUpdate? The purpose of me sending a SELECT statement every player update is to determine in what zone they...
117
May the problem perhaps be that you define health and armour to be explicitly used as floats but you format them as doubles?
83
Quote: Originally Posted by Misiur Included in a_mysql: Example: pawn Код: new    probablyNullField[64];cache_get_row(0, 0, probablyNullField, 1, 64);if(ismysqlnull(probablyNullFie...
178
Quote: Originally Posted by Misiur If you are using blueg plugin, there's "ismysqlnull" macro/function - it's a wrapper around strcmp. I am indeed using BlueG's MySQL plugin, could you ...
178
Quote: Originally Posted by Kaliber If in the Database NULL is written and not '' then yes, then the string contains NULL No, because it's the same. My bad, I was doubting if PAWN use...
178
Quote: Originally Posted by Kaliber In a string it will be NULL and in an integer it will be 0 So if I understand what you're saying: if the destination variable of the database field ...
178
Well, basically what the title says. How are NULL values retrieved from a MySQL database interpreted by PAWN? Will the value be NULL as well or will it be 0? My apologies if this was not the right se...
178
I have a question, what does Y_INI return if there's no such variable found in the .ini? pawn Код: forward LoadContactName_data(phonenumber, name[], value[]);public LoadContactName_data(phonenumbe...
86