Search Results
pawn Код: CMD:wfdebt(playerid, params[]){    new string[ 512 ];    new cnt = 0;    new name[ MAX_PLAYER_NAME + 1 ];     foreach(new i: Player) {        if(GetPlayerMoney(i) < 0) { ...
183
Quote: Originally Posted by Konstantinos This is incorrect: pawn Код: for(new x = 18; x != 0; x--) The size of the array is 18 and that makes 0-17 as valid indexes. Your loops goes (ba...
203
Change the loop to this: pawn Код: for(new x = sizeof(RankInfo)-1; x >= 0; x--) The error is caused because you have 18 elements, indexed at 0 to 17, and you're accessing index 18 which is the...
203
#define mS_CUSTOM_MAX_ITEMS 683
276
Quote: Originally Posted by TheHonnor I was thinking to place that check when the house valability has been reached / exceeded when the player disconnects. 'Cuz some friends of mine told m...
314
Have a variable to store the time in which the lease will expire Код: House[houseid][ExpirationDate] = gettime() + 60 * 60 * 24 * 30 //The current timestamp with addition of 30 days, converted to ...
314
mid 2008. Came to forums in mid 2009
14,226
Read the syntax. SetPlayerWorldBounds(playerid,Float: x_max,Float: x_min,Float: y_max,Float: y_min); The left values are the maximal values, and the right ones are the minimum. SetPlayerWorldBounds(p...
116
Did you use this? https://sampwiki.blast.hk/wiki/SetPlayerWorldBounds What happens. What did you try to do?
116
http://forum.sa-mp.com/forumdisplay.php?f=33
307
https://sampwiki.blast.hk/wiki/Loops
101
He means: pawn Код: new pHoldingKeyFire[ MAX_PLAYERS ];public OnPlayerKeyState...{    if(PRESSED(KEY_FIRE))        pHoldingKeyFire[playerid] = 1;    if(RELEASED(KEY_FIRE))        pHold...
159
Print the query before it's performed, and print it after mysql_fetch_row_format, and paste the results here
162
Quote: Originally Posted by Misiur Have you checked if it is executing on GMX? Normal ctrl+c doesn't execute OGME at all. Every time I'm updating something in my gamemode I'm using gmx....
232
Quote: Originally Posted by Misiur I'm not aware of it not working, are you using YSI 3 or 4? I've used YSI 3.1, and now 4.0. It didn't make any difference.
232
Quote: Originally Posted by Misiur It's easy. Don't use OnMyCustomCallbackGetsCalled();, do pawn Код: CallLocalFunction("OnMyCustomCallbackGetsCalled", ""); Aha. Beautiful. It's wo...
232
Bump. I also figured hooking some native callbacks doesn't work, such as OnTrailerUpdate, and OnGameModeExit
232
Is it possible to hook my own callbacks (not default SA:MP ones) using y_hooks? Because right now the hooked callback doesn't get called at all, but the original one does. What I mean is: pawn КоÐ...
232