Search Results
For avoiding sql injection you can you htmlspecialchars() and mysql_real_escape_string() - This needs a mysql db connection
780
I dont know much about macros, but where is the %0?
235
This board is for discussing about samp scripting and not other languages.
179
Sorry, didnt know about the cell limit. So if my number is 558752312 will it work?
262
This is how I fetch the line
pawn Код:
sscanf(fetchline, "p<|>ds[24]i", var[0], str[0], var[1]);
This is the Mysql Log:
Код:
CMySQLHandler::FetchRow() - Return: 364|DeaL|5587523124
This...
262
Quote:
dcmd is one of the fastest executing "plugin". The fastest one is zcmd, but dcmd is more professiona
I actually lol'd at this. (Sorry)
But I rofl'd at
Quote:
N...
1,670
Quote:
if(Number == OtherNumber)
{
}
The problem is I cant get the 'Number' parameter which is a long integer.
I had to pack it to a string, otherwise a long number is reduced to...
262
I have a long number, 674583948
I tried to use modifiers for variable but failed. When i tried to assign it directly to a variable
pawn Код:
new var = 674583948;
But it displayed some other num...
262
Quote:
Nice job, Could you make it to be able to view cars on the class selection
You need to spawn the player without making him select the class (return 0 at OnPlayerRequestClas...
1,542
Can I use modifiers for variables like long/unsigned?
If yes, how do I do it?
112
Thank you for the credits. But when using sniper rifle at this range it will be easier to zoom in to the objects. Thats why I didn't make the shooting at this range.
Quote:
Unusally like ...
1,917
The RadarTimer asks for a playerid but you dont send one.
Replace
Код:
SetTimer("RadarTimer", 30000, 0);
with
Код:
SetTimerEx("RadarTimer", 30000, 0,"i", playerid);
Also, your timer will call...
203
Then use the tool for which I've provided the link.
177
You need to create textdraws for that.
Goto wiki: TextDrawCreate
For easier method of creation use this tool.
177
Actually, you are not explaining your problem. You just seem to show us your code which will not help you.
But check this...
Код:
if(GetPVarInt(playerid, "PlayerSkin"))
{
SetPlayerSki...
221
Quote:
E:\Pawn\P67555\123\bew\filterscripts\sw.pwn(24) : error 017: undefined symbol "SetPlayerAttachedObject"
E:\Pawn\P67555\123\bew\filterscripts\sw.pwn(30) : error 017: undefined symbol...
995
Код:
SetTimer("eStrike_AK_Timer", 1000, true);
You dont provide any params while you call the function, but you need the playerid in the function -
eStrike_AK_Timer(playerid).
Try this:
Код:...
135
TogglePlayerControllable(playerid, false); This will freeze the player so that his keys gets disabled. But he can chat.
TogglePlayerControllable(playerid, true); This will unfreeze the player so that...
205
Код:
enum CData
{
Name[24],
UdStr[128]
};
new CtInfo[MAX_DATA][CData];
This is my enum. I format the strings in the enum to store data using a function. And after my job is done how will I empty...
141
The image still displays as the ones above. Can you upload it to some other site like photobucket?
266