-
Posts
636 -
Joined
-
Last visited
Everything posted by 'LinKin
-
Hello, I've a constant crash in one PC. This happens randomly when I'm playing. The first steps didn't work, I could not even download the Visual C++ things. For some reason the download doesn't start. Then I deleted gta_sa.set, and I thought problem was fixed since I had no error untill now (1h after). This is the DxDiag:
-
Hello, medium What's that for? Will downloads be faster if I set this to none? Thanks.
-
Hello, I just found out this section and I want to share here some videos I've made. This is the playlist of Drive 'n Pwn videos. Since I know you guys have more knowledge than me, I'd like to ask you if you know how to render in Sony Vegas 12. I had found an incredibly good configuration, but that was long time ago, now I've lost those rendering settings and cannot find them back... These two videos were made with the configurations I had at that time. If you look at them you'll notice they have good quality, and even better if you play them on 720p. Regards.
-
Thank you all.
-
The MySQL db is in Brazil. I'd be accepting connections from Latin America as well as from Europe. Perhaps, the best thing would get a MySQL db somewhere in central europe. Regarding MySQL module's function (mysql_ping), is it nessesary? I've always tried to avoid using that module, instead of it I use dbConnect etc.. https://wiki.multitheftauto.com/wiki/DbConnect
-
Tables only work with events? What do you mean? Aren't I using an event? (triggerClientEvent)
-
Ahh! So for example, with DakiLLa's code: triggerClientEvent(teamPlayers , "dxUpdateVsBar", teamPlayers[ math.random( 1, #teamPlayers ) ], "test") All the players in the team will recieve the data sent by the event, but the source would be only 1 player of that team. Am I right?
-
Hi tosfera, the link you gave for mysql_ping is wrong. Is this the MTA mysql module? Thanks
-
Hello, I readed that using callRemote inside the implementation of the onPlayerJoin event causes lag.. Is this true? How about a MySQL connection? For example if I want that when a player joins it takes some value from an EXTERNAL* MySQL database. *External: Because the MySQL database is hosted in another VPS. If someone can clear out the doubt. Thanks.
-
Of course that works. But shouldn't it work as I was doing it before? I'm passing a player element's table.
-
Hi, local teamPlayers = getPlayersInTeam(aTeam) triggerClientEvent(teamPlayers , "dxUpdateVsBar", teamPlayers , "test") Warning: triggerClientEvent, expected element at argument 3, got table. Isn't it supposed that triggerClientEvent allows this only to players element's table? Thanks.
-
Use getPlayerFromNamePart. Search MTA Wiki's useful functions to get it. Set the player's element data, forexample setElementData(player, "mutedOnMain", true) and in onPlayerChat event make the validations.
-
Uh.. Isn't there another way?
-
More or less injection? I get what an injection means * How could I avoid this in future scripts? _________________________________________________________________________________________________________________ (*): Source: http://es.wikipedia.org/wiki/Inyecci%C3%B3n_SQL
-
Hello, MTA accepts these non-alphanumerical symbols in players' nicknames: \|@#~!"$%&/()[]=?+*-.' So, currently I have an script taken from the community. It shows player's alias, and, I've discovered that it FAILS when a player uses a nick containing this symbol: ' (single quote) or one of these symbols: [] (or both). Here are the errors that it shows when using a nick with that symbol: http://s2.postimg.org/oqt0y553t/mta_scr ... _46_54.png http://s9.postimg.org/trorl4gwf/mta_scr ... _04_48.png *Note: The mapmanager error is another thing. Ignore it. The player alias script is compiled, so I cannot find out why it's failing. On the other hand, I'm thinking about to make my own script. It'd do the same as the previous one but with some other features like search player's nicks by serial, or viceversa (find which serials have used a determined nickname). As I'm new at MySQL, I want to ask you guys which collation I should use for the column `NICKNAMES`. Here's a picture showing what collations in MySQL are: http://www.comocreartuweb.com/imagenes/cotejamiento.png It's like for example if you want to accept chinese symbols in a column, you must choose japanese collation. As I want to accept \|@#~!"$%&/()[]=?+*-.' symbols, which collation must I use? Thanks.
-
Hello, So when you declare settings in meta, they will appear in the admin panel so that you can edit them. I've around 15 settings for a resource.. But they show not ordered in the Admin Panel. They don't show in the order you put them in meta. For me, this is bad, specially taking into account the amount of settings that I have. Is there any way to order them? Thanks.
-
Hello, I was reading about MySQL indexes. But I still feel like I don't understand it completely. I've created a table with two columns: SERIAL, NICKNAMES Now it asks me to add an index. It asks me to put a name for the index, the type of index, which column (SERIAL or NICKNAMES) and the size. Here's an image: http://s18.postimg.org/l8m0i0cmg/mysql.jpg .. I don't really understand what this is all about.. Could you please give me a hand? Thanks!
-
Nice. I got it working. Accepting external connections, etc..
-
Hello guys, I want to make an animation. I've a circle in the middle, and some squares at the sides, the squares are the ones who will move. So, in this animation, when you Scroll Up, the squares will move clockwise. And if you Scroll Down, they will move in the opposite orientation. This is a .gif image to give you a better understanding on the animation. (In this animation, squares are moving clockwise) http://s13.postimg.org/px1qfzto7/anim.gif The problem is.. How to do it? I can't find a good solution. I've thought about interpolateBetween but.. how to make the squares keep a circle's movement guide? Thanks.
-
Ok, I think I solved the lock problem But now, I'm stuck in this line sudo nano /etc/apache2/apache2.conf from the tutorial: https://www.digitalocean.com/community/ ... untu-12-04 It said nano: command not found. Then I did sudo apt-get install nano and did the proccess. Then I tried again, and it openned like an editor.. But now, the next step it asks is to write: Include /etc/phpmyadmin/apache.conf But where do I type this? Inside the thing that 'nano' command opens? I tried to do it outside, and it said -bash: Include: command not found Eh... EDIT: Nevermind! I 'skipped' these 2 lines, restarted apache and it's working....
-
[Help] Call a function when a certain time comes
'LinKin replied to BrastaSauce's topic in Scripting
No. I don't think so. I think setTimer is precise for what you're doing here. -
[Help] Call a function when a certain time comes
'LinKin replied to BrastaSauce's topic in Scripting
How about you do something like this: When the player sets the alarm, it does: local time = alarmTime - currentTime and then you use setTimer(yourFunction, time, 1) This would work if the alarm is set further the currentTime AND in the same day. You can just find out how to make it work for alarms set to the next day. -
The problem is, I cannot uninstall the phpmyadmin because of this error: E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable) E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it? I've googled this a lot. And I've found a lot of answers saying to remove the lock. But by removing the lock you can end up with a broken system, corrupt files, and some other BAD stuff.. I don't want to risk like this!
-
Yes, I installed LAMP with that tutorial too. But it's just that before I was installed it, I had tried to install phpmyadmin with apt-get install phpmyadmin. I'm still getting that error... I've asked my provider, let's see how it goes. iptables -I INPUT -p tcp --dport 3306 --syn -j ACCEPT Must I replace something in this code? can you explain it a little bit more? Thanks!
-
Ye, I had to use a variable. But Gallardo's solution may work as well.