Search Results
pawn Код:
mysql_tquery(mysql,"SELECT * FROM userstats","","");
pawn Код:
new rows,fields;cache_get_data(rows,fields);
When executing a query with this format cache_get_data or any other cache ...
76
Thanks a lot for your helpful response but is it possible to make it without calling any function?
For example something like:
pawn Код:
new query[256];format(query, sizeof(query), "SELECT field1,...
215
I have problems understanding MySQL threaded querries.
I am trying to convert the code above from non threaded to threaded.
How to make this with threaded querries?
pawn Код:
new row[128]; ne...
215
Quote:
Originally Posted by ******
No, that won't help. You really shouldn't need that much stack space. The issue isn't really having large variables, but huge numbers of them. People ...
161
Looking to avoid #pragma dynamic.
Is it going to help if i create a function that will format the messages?
Something like
pawn Код:
#define FormattedMessage(..)
161
I have already done that but it didn't seem to change something.
161
Quote:
Originally Posted by BroZeus
It will be buggy at some instances, for example if u do something like this :
pawn Код:
SomeFunc(playerid) // lets say it is called at 01:25:00{form...
161
Recently i had some problems with the size of my arrays. Pawno gave me this:
Код:
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
Header size: 6428 bytes
Code size: ...
161
Here is the code:
pawn Код:
new string[128];format(string, sizeof(string), "SELECT * FROM vehicles WHERE Owner = '%s'", Name(playerid));mysql_query(string);mysql_store_result();new nv = mysql_nu...
89
I am trying to make a position loader script using Y_Ini but I am encountering a problem.
The commands to save the position is:
pawn Код:
CMD:save(playerid,params[]) { if(IsPlayerAdmin(...
48
Quote:
Originally Posted by VincentDunn
There are many ways, it depends on which method of saving/loading, and what type of script you're making.
The script i want to make looks like th...
74
Can you tell me how to script a command that will load the player objects of a specific player?
Example: /loadplayerobjects <ID>(It will load the player objects of this player...)
74
Can someone please tell me how to save the player objects when a player types /spo into an .ini file(Using y_ini) and then when the player types /lpo it will load his player objects.
36
Well, i made a /createplayerobject command but i have some problems; here is the code:
Код:
if(strcmp(cmd, "/cpo", true) == 0)
{
new Float:x, Float:y, Float:z;
GetPlayerPos(id,x,y,z);
new tmp[...
54
Basicly i am using 0admin but i want to make some more commands like /healme and i cant make them on this admin script because its too big for my computer to compile it...
71
1: Could someone tell how to make the /report command?
2: How can i send admin commands? For example: When the player types /healme i want a command send to all online admins sying that the: player[pl...
71
Yes i renamed the folder but the problem still exists..Any other idea?
206
I have allready try to do this but it doesnt work..
206
My samp is saying "Unable to execute" when iam pressing the connect button..
I had this problem before but i dont remember how i fixed it...
Any ideas how to fix it?(I have allready try reinstalling ...
206