Search Results
Quote: Originally Posted by Yashas How many of you are using it? Is everything working? What do you think about the command state system? Do you use it? Should it be removed? The state sy...
3,561
PHP код: if(cpd[playerid] == 1){     cpd[playerid] = 2;     SetPlayerCheckpoint(playerid,2081.1523,-1831.5197,13.1621,5.0); } else if(cpd[playerid] == 2){     SetPlayerCheckp...
105
Make use of else if statements rather than just if statements. By the time your code reaches the second if statement, the value of cpd has already been set to 2 (in the preceding if statement).
105
Quote: Originally Posted by ISmokezU Just adding here, but wouldn't Strfind Work best here? PHP код: if(strfind(location, "gym")) //...  Depends. If you have multiple g...
131
The variable 'location' is not declared as an array and thus can't store strings or be used in strcmp.
131
You've got a few things wrong: PHP код: cache_get_row_count(&destination)  Takes only a single function argument. Usage: PHP код: new     rows; cache_get_row_count(rows); ...
157
It's an informative message, not an error.
106
Instead of checking whether the admin level isn't equal to 1, you should really check if it's equal to 0 (or less than 1). Furthermore, instead of checking whether the player is an admin with ever ite...
134
Quote: Originally Posted by ThomasEvil I have same problem and this is not solution. Any idea? New registered people still getting stats of last connected player... I am so crazy, cant sol...
133
Quote: Originally Posted by Gammix @Andy: This version should get rid of all those issues you addressed before. Give it a try! Yep, thank you
2,110
Quote: Originally Posted by Gammix Can you give me example projectile which causes this bug. I took your example and just added the CreateObject line under OnProjectileStop because that...
2,110
Quote: Originally Posted by Gammix Update v1.3.3: - Gravity effect introduced (action = reaction), this was responsible for no bouncing before. - Modified default param values in "Projecti...
2,110
The fact you get the error when not using the floats indicates that they are not the issue. Do you have multiple instances of the server package on your computer and is one of them using an older vers...
416
Have you declared 'query' as an array? EDIT: nevermind, this gives a different error. Are you sure your include is R40+?
416
There's no active cache when you check for the row count. You have to either use an non-threaded query (not recommended!) or use mysql_tquery - like you are already - and check if the row count is >...
201
Quote: Originally Posted by Gammix Maybe you don't have cadb in scriptfiles? I know thats a stupid question but sometimes you might forgot to add it... Cause that can be the only reason wh...
2,110
Quote: Originally Posted by Gammix http://i.imgur.com/qicFj3V.jpg I tested the example and my objects are staying at ground after collision. There's no collisions with projectiles, so if ...
2,110
The Z position of the object doesn't change - It slides to its end position in mid-air: http://i.imgur.com/HHUBROq.png I understand that collisions with the projectile and the CA map are done internal...
2,110
Quote: Originally Posted by DTV Assuming stringify means turning something into a string, how would you de-stringify a string into plain text to the script? You can't, turning it into p...
234
You can stringify it by placing a hashtag in front of it (utilises the preprocessor): PHP код: #include <a_samp> enum E_PLAYER_DATA {          pAdmin,     pLevel }; new P...
234