SA-MP Forums Archive
SA-MP 0.3z R2-2 server update - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP (https://sampforum.blast.hk/forumdisplay.php?fid=3)
+--- Forum: News and Updates (https://sampforum.blast.hk/forumdisplay.php?fid=74)
+--- Thread: SA-MP 0.3z R2-2 server update (/showthread.php?tid=506214)

Pages: 1 2 3 4 5 6 7 8 9


Re: SA-MP 0.3z R2-2 server update - Admigo - 28.04.2014

Quote:
Originally Posted by Micheal123
Посмотреть сообщение
i want samp R2 not for a server can anyone tell me!
I don't see any reason to not upgrade the server to Sa-Mp R2-2


Re: SA-MP 0.3z R2-2 server update - satafinix - 29.04.2014

Good Work


Re: SA-MP 0.3z R2-2 server update - iFarbod - 30.04.2014

Those useful new natives is awful!

CreateExplosionForPlayer - good for slapping a player
SendDeathMessageToPlayer - uptade the kill feed just e.g players in minigun dm mini game.
BlockIP - All know what is this

OnIncomingConnection - tracking server stat and more ...

AWESOME!


Re: SA-MP 0.3z R2-2 server update - Meyokie - 05.05.2014

Nice Its Good.


Re: SA-MP 0.3z R2-2 server update - VladimirMark - 05.05.2014

Finally the 'ackslimit' is raised from 1000 to 3000.
Thanks.


Re: SA-MP 0.3z R2-2 server update - iZN - 06.05.2014

Quote:
Originally Posted by VladimirMark
Посмотреть сообщение
Finally the 'ackslimit' is raised from 1000 to 3000.
Thanks.
You can do that too. It is done only for the noobs who can't even do that.


Re: SA-MP 0.3z R2-2 server update - Mishima - 07.05.2014

Nice to see some new features and security.


Re: SA-MP 0.3z R2-2 server update - Don_Cage - 15.05.2014

Thanks!


Re: SA-MP 0.3z R2-2 server update - KevinPRINCE - 16.05.2014

Kalcor you should add a function/bool/int like GetPlayerNameN(playerid); to find the name of the play without space. Ex: Kevin_Rambo instead of GetPlayerName(playerid); which will give you Kevin Rambo


Re: SA-MP 0.3z R2-2 server update - kurta999 - 16.05.2014

Scriptable..


Re: SA-MP 0.3z R2-2 server update - KevinPRINCE - 16.05.2014

Quote:
Originally Posted by kurta999
View Post
Scriptable..
Can you show me an example or help me? Would be greatful


Re: SA-MP 0.3z R2-2 server update - kurta999 - 16.05.2014

pawn Code:
new str[24];
GetPlayerName(playerid, str, sizeof(str));
RemoveShit(str);
printf("after: %s", str);

stock RemoveShit(player_name[])
{
    for(new i, j = strlen(player_name); i != j; i++)
    {
        if(player_name[i] == '_') player_name[i] = ' ';
    }
}
If I good understood what do you want.


Re: SA-MP 0.3z R2-2 server update - Y_Less - 16.05.2014

Quote:
Originally Posted by KevinPRINCE
View Post
Kalcor you should add a function/bool/int like GetPlayerNameN(playerid); to find the name of the play without space. Ex: Kevin_Rambo instead of GetPlayerName(playerid); which will give you Kevin Rambo
GetPlayerName already returns it with an underscore - the use of that to mean "space" on some servers is just convention, not a rule, so applying that to all servers would be wrong in many cases.


Re: SA-MP 0.3z R2-2 server update - KevinPRINCE - 16.05.2014

@Y_Less
So this code is legit? And will work no matter what? I mean it will search for that player only right?
Code:
        new input[MAX_PLAYER_NAME+1], named[MAX_PLAYER_NAME], idfix, kickid;
	format(input, sizeof(input), "%s", GetPlayerNameEx(playerid);
	kickid = playerid;
	sscanf(input, "u", idfix);
	if(idfix == INVALID_PLAYER_ID)
	{
	    SendClientMessageEx(playerid, COLOR_WHITE, "Server: Sorry you have been kicked due to a bug, relog.");
	    SetTimerEx("KickEx", 1000, 0, "i", kickid);
	    return 1;
	}
Edit: @Kurtaa Thanks bro

Needed:
Code:
if(player_name[i] == ' ') player_name[i] = '_';



AW: SA-MP 0.3z R2-2 server update - Yawar - 17.05.2014

Well Done !


Re: SA-MP 0.3z R2-2 server update - iRaiDeN - 07.06.2014

Good one!


Re: SA-MP 0.3z R2-2 server update - Sasino97 - 15.06.2014

Very Good Nice upgrade!
But you could have added this to a_vehicles.inc:
Code:
native IsValidVehicle(vehicleid);
for the ones that don't understand: this function exists but it isn't defined by default


Re: SA-MP 0.3z R2-2 server update - [HLF]Southclaw - 15.06.2014

Quote:
Originally Posted by [GF]Sasino97
View Post
Very Good Nice upgrade!
But you could have added this to a_vehicles.inc:
Code:
native IsValidVehicle(vehicleid);
for the ones that don't understand: this function exists but it isn't defined by default
I really don't understand why stuff like this has been missing for so long. Sure it's easy to add manually and I suppose if it's added now then silly people would get "already defined" errors and not know why.

Still, would be nice to finally get actually completed SA:MP libraries with all the related functions and definitions.


Respuesta: Re: SA-MP 0.3z R2-2 server update - Malganys - 16.06.2014

Quote:
Originally Posted by [HLF]Southclaw
View Post
I really don't understand why stuff like this has been missing for so long. Sure it's easy to add manually and I suppose if it's added now then silly people would get "already defined" errors and not know why.

Still, would be nice to finally get actually completed SA:MP libraries with all the related functions and definitions.
Sincerely, I prefer (and a lot of people) that Kalcor define it by default, because is a native, same as gpci.


Re: SA-MP 0.3z R2-2 server update - TheThirdNeo - 16.06.2014

Awesome!!!