Search Results
Quote: Originally Posted by Wavybone Code: #define SQL_HOST = "localhost" #define SQL_USER = "root" #define SQL_DATABASE = "Test1" #define SQL_PASSWORD = "" new MySQL:sqlConnection; ...
165
Quote: Originally Posted by Crayder No. This is something you'll have to implement. Which command processor are you using? Most of the more modern ones such as SmartCMD, Pawn.CMD, or YCMD...
404
Define the alias for your command
404
Quote: Originally Posted by DerickClark Код: forward OnLoadRepairPickups(playerid); public OnLoadRepairPickups() { new count; cache_get_row_count(count); // Get total rows for(ne...
147
Quote: Originally Posted by DerickClark still returns -1 update the code Код: AddARepairPickups(Float:x, Float:y, Float:z) { for (new i; i < sizeof(ARepairPickups); i++) { i...
147
Код: cache_get_value_name_int(0, "PickupID", ARepairPickups[i][PickupID]); // use i instead 0 don't save pickup id, because samp generate new when you create it again regenerate pickups on OnLoad...
147
Код: stock PlayerIDs(string); // This value is not a string, it's integer stock PlayerIDs(const string[]); // This value is a string I think you wanted to know that is given name player is connec...
97
Quote: Originally Posted by firstlast488 I'm not using mysql plugins Код: echo Executing Server Config... lanmode 0 rcon_password changeme444 maxplayers 100 port 7777 hostname R Rolep...
385
use format of importing includes Code: #include <zcmd> //load from pawn folder #include "zcmd" //load from current folder location
489
You can easily use custom plugin for this work, it would be good for server performance You can also create your own listener so that you can inform players in the game player for the arrival of new ...
165
Quote: Originally Posted by YourShadow Remove this line. Thanks
11,910
Code: const GiveOrTake = 115; IRPC:GiveOrTake(playerid, BitStream:bs) { new data[PR_OnGiveTake]; BS_IgnoreBits(bs, 8); BS_ReadGiveOrTake(BitStream:bs, data); printf( "GiveOrTake[%d], bGiveOrTak...
11,910
make sure your single function does not contain more than 3000 arrays, it will throw you this error, you have defined striiing[2000], new string[2000];. you can't use more than 3k array size in single...
89
here is your solution. https://sampwiki.blast.hk/wiki/MySQL#ca...value_name_int
269
I did not get you, but if this is normal samp crash errors. than download GTA SA patch to fix crashes, I have created a patch by collecting required files. Download from Github, link is below, just ex...
376
Array index out of bounds errors cause Invalid memory access after generating a lot errors. so fix the the array problem and it will stop causing server crash. Beginner's Guide: Single/Two/Multi-dime...
194
show the function code, where you are using these calls
363
it will work fine, I had experience with this
173