Search Results
This should work. I just changed the "i" to a "d" in the sscanf parameters. pawn Код: CMD:givemoney(playerid, params[]){    new targetid, amount;        if(sscanf(params, "ud", targetid, am...
129
This is the log for the plugins: pawn Код: SA-MP Dedicated Server----------------------v0.3x, (C)2005-2013 SA-MP Team[22:58:12] [22:58:12] Server Plugins[22:58:12] --------------[22:58:12]  Load...
149
Quote: Originally Posted by rangerxxll Make sure CreateDynamicObject is under OnGameModeInIt. It is in a stock, but it is called on ongamemodeinit.
149
Basically, when I use the function CreateDynamicObject, the object doesn't load. Keep in mind, this is on a Windows 2008 Microsoft Server. I have the 2 .dll's in the root, but when I try this on my la...
149
Well how are you saving it? Through SQL? dini? Also, I got this little script from SA-MP wiki itself: pawn Код: new spoiler[20][0] = {    {1000},{1001},{1002},{1003},{1014},{1015},{1016},{1023}...
96
Basically, when setting the timer, set it as a variable. Then, OnPlayerDisconnect, use KillTimer(Timer ID)
64
Make sure you changed the folder name to "DM" as well
204
Try this: pawn Код: CMD:admins(playerid){    new string[128], count, admins[126];    for(new i = 0; i < MAX_PLAYERS; i ++)    {        if(pInfo[i][AdminLevel] >= 1 && pInfo...
173
Quote: Originally Posted by akki ok in that case as soon as the player ammo reaches the number in which the ammo is shown he would be banned? Right, you can use the GetPlayerWeaponData ...
90
When you are giving the weapon, just set that ammo to 99999 like so pawn Код: GivePlayerWeapon(playerid, 21, 99999);
90
Make sure you have this function on your OnGameModeInit(): pawn Код: ManualVehicleEngineAndLights();
82
I suggest using MySQL, and for a password, use the whirlpool encryption.
166
You should be doing time2 - time1 like so: pawn Код: CMD:test1(playerid, params[]){    new time1 = GetTickCount();    new id;    if(sscanf(params,"i",id)) return 0;    for(new i = 0; i &l...
116