Search Results
The banana object deserves a standalone update.
32,472
Since every compiter runs at differwnt resolution, do textdraws appear diifferently? I made a textdraw of an icon above a textdraw of SA map. It shows above a specific area but will it show in the sam...
47
Quote:
Originally Posted by Schneider
I've been playing around a bit, and came up with a function that checks if a string has a integer, float or string format, but you still have to conve...
125
Quote:
Originally Posted by Schneider
There is one for PlayerVariables: GetPVarType(playerid, varname[]);
I couldn't find any function for non-player related variables. But I do think it's...
125
Is there anyway to add a function that determines if the given variable is a float/string/int?
125
This is my script:
pawn Код:
stock SaveAccount(playerid) { if(gPlayerLogged[playerid] && AdminDuty[playerid] == 0) { new szPlayerName[MAX_PLAYER_NAME], ...
74
Nevermind, I've solved it.
I decided to let the script detect if the IP being checked exists in another method and it worked!
55
If coded this function:
pawn Код:
stock CheckBan(ip[]){ new szIp2[MAX_PLAYER_NAME], szQuery[128]; mysql_real_escape_string(ip, szIp2, gMySQLConnection)...
55
Yesterday I decided to update my game mode from BlueG's R5 or R6 (can't remember) to the latest one.
I had to re-do most of the stuff and some functions and techniques had to be re-written from scrat...
73
Quote:
Originally Posted by Kikito
https://sampwiki.blast.hk/wiki/MySQL/R33#mysql_format
https://sampwiki.blast.hk/wiki/MySQL/R33#mysql_pquery
https://sampwiki.blast.hk/wiki/MySQL/R33#cach...
191
Quote:
Originally Posted by ******
Given that you have just started, why re-invent the wheel? There are dozens of user systems about - download one, move on, and get quickly to the intere...
191
Quote:
Originally Posted by Kikito
num_rows will always return 1 when using a COUNT instruction in the query..
---
Use fetch_row function instead.
The first row[and the unique row from the...
191
Hello! A few days ago I've decided to start off my own project of creating a gamemode.
I managed to create a login and register system with MySQL and I also wrote a database for the players.
Current...
191
what's sa:mp for you? some game you log in to roleplay in servers? join 0/500 servers and get 500 million dollars starter refund? stunts for ever? your scripting playground? your ultimate "i will make...
228
Quote:
Originally Posted by Karagon
Looks like to me "_" is being escaped to something else. If the file's name is "Lenny_Kraff.ini" and it's not finding it still, try:
Код:
GetPlayer...
152
I got this code:
pawn Код:
GetPlayerName(playerid, plname, sizeof(plname)); format(string, sizeof(string), "accounts/%s.ini", plname); if(fexist(string)) { gPlayerAccoun...
152
I got this code:
pawn Код:
stock GetName(playerid, const name[], len){ GetPlayerName(playerid, name, len); name[strfind(name, "_")] = ' '; // LINE 26245 return name;}
I get this er...
86
Quote:
Originally Posted by [FSaF]Jarno
It doesn't actually have to be "exact" since the server doesn't have a specific file in it to check. If ANY player has ANY textdraw with the same li...
1,067
Whenever I enter the attachments filterscript or trying to edit attached objects I get crashed with this:
Код:
SA-MP 0.3e
Exception At Address: 0x031B8B55
Registers:
EAX: 0x99222222 EBX: 0x0022FA...
54