Search Results
You could do something like this: pawn Код: new checked = 0;foreach(new i : Player){    switch(whatever_var)    {        case 1:        {            //does whatever        Â...
74
You have the wrong version of the MySQL include and plugin. You need to upgrade to a newer version.
102
Quote: Originally Posted by Vince I may be wrong but I believe that tqueries, while executed in another thread away from the main SA-MP server thread, are still queued up behind each other...
489
Quote: Originally Posted by Abagail You don't really mention how to use mysql_pquery or give any examples of it's usage. That's because its usage is the same as mysql_tquery, but I shou...
489
Introduction Recently, a friend asked me what the difference between mysql_pquery and mysql_tquery is, so I thought I’d make a tutorial. The wiki actually explains the difference, but I thought Iâ€...
489
This isn't a script request thread. This is: https://sampforum.blast.hk/showthread.php?tid=413556
61
Your string is too long. Try using strcat.
66
Quote: Originally Posted by Kaperstone Then why not make at least the basic for the multi-mode servers ? There are a lot of basic scripts for everything around here. Because if I added...
290
Recently, I scripted a gamemode with a MySQL registration and login system, an admin level system and some basic admin commands. I decided to release it on the forum for people to use as a base, perh...
290
OnPlayerConnect, Use GetPlayerName to get the player's name, then use format to add "[*FP*]" to the start of the player's name, then use SetPlayerName to change their name.
79
mysql_format( mysql, szQuery, 128, "SELECT * FROM `jobs` WHERE `jobID`" ); You don't need the WHERE. Just: mysql_format( mysql, szQuery, 128, "SELECT * FROM `jobs`" );
78
I had this exact problem, and to fix it, I downgraded the troublesome plugins to slightly older versions.
193
I made a video tutorial on how to create an emboss effect with textdraws. I'm using Zamaroht's Textdraw Editor (click), but you don't have to use it, it's just a lot easier and quicker. My example ...
214
As said above, you need to check password lengths. There are also other checks you might want to include such as the type of characters the player is entering. To be honest, if you're having problems...
77
Say I have a square/rectangle area, and I want to get evenly-spaced coordinates in that area like this: Код: -------------------------- |. . . . . . . . | |. . . . . . . . | |. ....
46
You could try using OnVehicleDamageStatusUpdate and getting the players animation to check if they're holding a baseball bat, perhaps? (Animations) Other things you might find useful: GetPlayerAnima...
60
Quote: Originally Posted by GCLeandroGC What happens when they get stuck? And update the topic with more usefull informations... I can't test this at the moment but, if this work, good jo...
348
I'm not sure if something like this already exists but I couldn't find anything. Sometimes, when a player spawns at the same coordinates as somebody else, it can cause one or more players to get stu...
348
Pick how you will save and store information about your players (MySQL, y_ini), then search for tutorials on the forum/on ****** about creating a registration system with your chosen method. You can ...
83
if(PlayerInfo[playerid][pCar] != -1 && !IsPlayerAdmin(playerid) ) CarDeleter(PlayerInfo[playerid][pCar]); Delete this line.
192