Search Results
If a timer is not repeating you don't need to destroy it, it will automatically be disposed when it ends.
169
Unfortunately no, they won't see the objects.
The only thing you could do is creating a new .img file with the new objects and then distribute it to your users.
318
pawn Код:
public OnPlayerDeath(playerid, killerid, reason){ if (killerid != INVALID_PLAYER_ID) { new Float:coords[3]; GetPlayerPos(playerid, coords[0], coords[1], c...
176
Make sure you have properly installed the MySQL plugin.
275
You need to use the SetTimerEx function instead of the SetTimer one.
pawn Code:
SetTimerEx("Speedometer", 100, true, "d", playerid);
232
You need to reduce the line length, to do so use the strcat function to split your string.
pawn Код:
new string[1024];strcat(string, "CREATE TABLE IF NOT EXISTS `Accounts`...");strcat(string, "......
183
Your code is not indented, that's the problem.
Learn more about code indentation here: Wikipedia
pawn Код:
if(strcmp(cmd, "/openbomj", true) == 0){ if(PlayerInfo[playerid][pLeader] == 25 || P...
190
Code indentation is an important thing you need to learn if you want to become a good programmer.
315
You are missing a closing bracket by the end of your code. Add it and it should be fine.
238
Quote:
Originally Posted by Fjclip99
Yes, but now it sends the default messge too...
Make sure you use 'return 0' at the end of the OnPlayerText callback.
324
Quote:
Originally Posted by AYOUYOU
when i /kick a player, when they go to log back , when he choose skin it says Server Closed the Connection
The feature you're asking for seems more l...
522
Quote:
Originally Posted by Baltimore
Instead of return false, I can use return SendClientMessage?
Yes, you can.
438
Quote:
Originally Posted by SA-MP Wiki (SetPlayerName)
The name to set. Must be 1-24 characters long and only contain valid characters (0-9, a-z, A-Z, [], (), $ @ . _ and = only).
You ha...
183
pawn Код:
// On top of the script#define DIALOG_RANK (12345)case 0..49: ShowPlayerDialog(playerid, DIALOG_RANK, DIALOG_STYLE_MSGBOX, "Rank", "Rank: Noob", "Ok", "");// Etc..
173
I think it's probably related to some mods installed. Try to clean your GTA:SA installation.
131
Interesting concept, you should definitively keep it up! Great job!
740
If you mean checking if the entered text is numeric you could do this:
pawn Код:
// Put this in your dialog responseif (strval(inputtext)){ // The text is numeric, proceed with the code..}els...
231
There's no "best" saving system, it really just depends on your needs: if you need to store datas for internal usage only (in the game-server), you won't need a MySQL database, you can simply go for a...
360
I think you're referring to this: OnUnoccupiedVehicleUpdate
320
Make sure you set the 'announce' and 'query' parameters to 1, then let the internet tab load completely and try to search your server.
305