Search Results
Quote: Originally Posted by RogueDrifter If so then why not call the callback on both the player taking damage at OnPlayerTakeDamage and giving damage at OnPlayerGiveDamage to get the accu...
1,176
Quote: Originally Posted by TadePoleMG This is under OnPlayerText So Is there a effect of return 1 on other statements? When you return 1 under OnPlayerText, it allows the text to be se...
231
@Kar After some research into the different skill levels, there doesn't seem to be an issue with the skill levels and this. Weapons still give the same amount of damage when single or duel wielded. ...
1,176
Make sure you return 0 under OnDialogResponse in your filterscript and in the gamemode. Return 1 when the correct dialog is responded to so that the server knows the correct dialog was responded to a...
258
Quote: Originally Posted by RogueDrifter Not sure if this is going to return false positives on several cases depending on range/lag and whatnot but overall, shouldn't this: Код: OnPla...
1,176
This include detects damage mods. Damage mods are basically a cheat that allows you to take a lower damage than the weapon actually gives, thus keeping you alive longer. The way this script detects ...
1,176
If I recall correctly, SetPlayerTeam even had to be used in SA-MP 0.2. Using the team parameter in SetSpawnInfo then only allowed the usage of /tpm while using SetPlayerTeam wouldn't work for it and ...
1,369
Quote: Originally Posted by Hunud What about this and number 10 in it ? Код: mysql_tquery(sql_connect, "SELECT * FROM `users` ORDER BY `eventpoints` DESC LIMIT 10", "OnQueryFinishup"...
244
From what I just tested, it seems to be 241 characters.
338
Quote: Originally Posted by Sanady But why should I do that? I am planing using that function only two times... You don't have to, but if I remember correctly, if you tag a function, it...
360
Quote: Originally Posted by Sanady Bro, why should I create Angle variable, which I have defined in header of function? Ah fuck I was removing your comments and I didn't even notice it ...
360
PHP код: stock Float:GetPlayerAimingPoint(playerid, Float:Angle)  {      new Float:X, Float:Y, Float:Z; //Float:Angle;      GetPlayerPos(playerid, X, Y, Z);      GetPla...
360
Updated the include. Added support for Timezones and Zip Codes.GetPlayerTimezone(playerid, timezone[], size = sizeof(timezone)); GetPlayerZipcode(playerid, zipcode[], size = sizeof(zipcode)); - If y...
1,146
Quote: Originally Posted by muhsah007 Код: [02/06/2016 12:08:35] [join] xxxxxxx has joined the server (4:93.87.xxx.xxx) [02/06/2016 12:08:35] [debug] Server crashed while executing GM....
1,146
OPWS isn't called at all when a sniper's bullets don't land anywhere (i,e: the sky, or a very far away distance) unlike other weapons.
938
Just access the data itself where ever it's stored and then print it or something. How to count the players, use something like: pawn Код: #define MAX_FACTIONS 10 //See GetMemberCountInFaction fo...
361
Use strval. Like: pawn Код: PlayerInfo[playerid][pDostup] = strval(inputtext);
187
Quote: Originally Posted by justice96 Is this accurate to detect players city/country/region? seems like the API is down It's accuracy is approx ~50 miles most likely, not every city ha...
1,146
Quote: Originally Posted by JustMe.77 Hi, I'd like to know whats the difference between this Script and Whitetigers GeoIP Plugin? This script pulls the information directly from the Int...
1,146
Hi, Emmet was the original designer of the code (Original Thread: https://sampforum.blast.hk/showthread.php?tid=521843). I picked this up off the forums a while ago after I got tired of updating Geo...
1,146