SA-MP 0.3c R3/R4/R5 server update

Quote:
Originally Posted by kacper55331
Посмотреть сообщение
You could enlarge the limit of '~color~' in textdraw's? After about 15 client gets crash.

Sorry for my language.
I don't think this is true, you can use as many colours as you want in a textdraw once the string limit does not hit over 256

Once you use ONE colour, the string limit is 256 otherwise if no colours are used, the string limit is 1024 s:
Reply

I made once textdraw, which were collected data from MySQL.
After 7 records (and colors) was getting just crash.
When I deleted the colors there have up to 12
Reply

It's not because of the number of colors. I have textdraw, which has about 30 characters and each letter has a different color, it works normally.

As if what, apologized for my poor english.
Reply

Quote:
Originally Posted by palesz_88
Посмотреть сообщение
I hope tomorrow we got a new update!
I hope no! It's f-king enough man . Too much updates... I know it's good, but when you do an update, do it for a while and give as a lot of new possibilities, not just fixing some bugs and release it(ok, fix bugs but add news, otherwise...).
So, every people must change their "executables" every day?
I hope SA-MP Team will make a stable version that will resist a couple of months, like previous version: 0.3c R2-2
However, I don't want to offend Kalcor, I love what he does!
Reply

I tried with this code:
Код:
public ShowPlayerItems(playerid, page)
{
	if(page == -10) return CallLocalFunction("ShowPlayerItems", "dd", playerid, 0) & GameTextForPlayer(playerid, "~r~~<~Don't find a page", 3000, 3);
	new list_item[356];
	new str[126];
	new zmienna = 0;
	format(str, 356, "SELECT `iUid` FROM `1items` WHERE `iBelongTo`=0 AND `iPlace`=1 AND `iOwner`=%d LIMIT %d, 10", PlayerInfo[playerid][player_uid], page);
	mysql_query(str);
	mysql_store_result();
	if(!mysql_num_rows()) return GameTextForPlayer(playerid, "~r~Don't find a page~>~", 3000, 3) & mysql_free_result();
	while(mysql_fetch_row_format(str, "|"))
	{
	    new i = strval(str);
		zmienna++;
		Przedmiot[playerid][zmienna] = i;
		if(ItemData[i][iType] == ITEM_WEAPON) format(list_item, sizeof(list_item), "%s~p~%d %s- %s (%d ammo)~n~", list_item, zmienna, UseItem(i), ItemData[i][iName], ItemData[i][iValue2]);
		else if(ItemData[i][iType] == ITEM_PHONE) format(list_item, sizeof(list_item), "%s~p~%d %s- %s (%d)~n~", list_item, zmienna, UseItem(i), ItemData[i][iName], ItemData[i][iValue1]);
		else format(list_item, sizeof(list_item), "%s~p~%d %s- %s~n~", list_item, zmienna, UseItem(i), ItemData[i][iName]);
	}
	mysql_free_result();
	TextDrawSetString(przed[playerid], list_item);
	TextDrawShowForPlayer(playerid, przed[playerid]);
	TextDrawShowForPlayer(playerid, p2);
	TextDrawShowForPlayer(playerid, p4);
	SetPVarInt(playerid, "TD", 1);
	SetPVarInt(playerid, "td-page", page);
	return 1;
}
It's old script.
Do not look for alignment/optimality.
Reply

With the update, my /v or /veh command doesn't work anymore.
It says:

SERVER: Unknown Command.

but at the end there isn't return 0; at the end of OnPlayerCommandText there is return SendClientMessage(playerid, COLOR_RED, "Unknown Command");
Reply

We wait a year, a ba bam - few new server side functions. NICE JOB KALCOR AS ALWAYS ..NOT
Reply

Quote:
Originally Posted by Pedro_Doc
Посмотреть сообщение
No, R7 is still not out there if I recall.

Also this webpage is a fail, it should be PAWNscripting.com, not PAWNO. PAWNO and PAWN are two different things.
Reply

Quote:
Originally Posted by Mean
Посмотреть сообщение
No, R7 is still not out there if I recall.

Also this webpage is a fail, it should be PAWNscripting.com, not PAWNO. PAWNO and PAWN are two different things.
Web page != Website domain.
Reply

The new callbacks and natives are awesome.
Reply

Awesome job Kalcor! but i have suggestion for you (i hope it'll be not deleted :>) is this possibly for you make:
pawn Код:
native TextDrawFadeInOut(Text:text, fade, time);
? i know it's scriptable because i have scripted it already but it's not the same like it is in Single Player. Can you make this as function? please
Reply

Quote:
Originally Posted by Pedro_Doc
Посмотреть сообщение
This is RC7 (testing release), not R7.
Reply

Where can I find the update (Not to servers) ??
Reply

Quote:
Originally Posted by davve95
Посмотреть сообщение
Where can I find the update (Not to servers) ??
There's no client update, this is only a server update...
Reply

GetPlayerSurfingObjectID is OnUnoccupiedVehicleUpdate How does it work?

I tested GetPlayerSurfingObjectID is turned up nothing.
Reply

Quote:
Originally Posted by Jonathan_Feitosa
Посмотреть сообщение
I tested GetPlayerSurfingObjectID is turned up nothing.
Need stay on global created object with original(no streamer) function CreateObject
Reply

Look great!
Reply

Thanks much "SAMP" for the updated, my server was having problems with everyone when they entered the server they crashed! Thanks Much, its now fixed!
Reply

Quote:
Originally Posted by Kar
Посмотреть сообщение
Adding to what Garsino said ^^, maybe R6 has some unstable stuff, so they need one of the bigger / high player-base server's to test it :P
That makes no sense whatsoever.

If it's unstable, why would they test it on a server with a huge playerbase and risk it all?

Quote:
Originally Posted by Diablosrouge
Посмотреть сообщение
Is there going to be a potential fix for the reload bug issue on R5/R6 or do we have to wait half an year to get 0.4 with that bug fixed? OR, do we have to go back to 0.3b to actually be able to play DeathMatch decently?
This one is clearly urgent and has been reported for months.

Let me remind u some of us DMers have reported that FPS bug and it got fixed on the next "Release (R3)" and it turned out pretty good. Can't u fix this one too asap?
Why do you keep asking this? You've made countless threads about it.
Reply

Quote:
Originally Posted by Schurman
Посмотреть сообщение
That makes no sense whatsoever.

If it's unstable, why would they test it on a server with a huge playerbase and risk it all?



Why do you keep asking this? You've made countless threads about it.
To test it!, and risk what? I believe if any of those servers even shut down for a week, by the time they re-open they'll be almost / full again.

It's almost the same as a public beta... if you think of it in a way..
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)