28.04.2014, 19:37
SA-MP 0.3z R2-2 server update
29.04.2014, 16:38
Good Work
30.04.2014, 15:54
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!
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!
05.05.2014, 10:25
Nice Its Good.
05.05.2014, 18:45
Finally the 'ackslimit' is raised from 1000 to 3000.
Thanks.
Thanks.
06.05.2014, 16:32
07.05.2014, 23:12
Nice to see some new features and security.
15.05.2014, 00:51
Thanks!
16.05.2014, 03:16
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
16.05.2014, 04:17
Scriptable..
16.05.2014, 04:24
16.05.2014, 10:35
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] = ' ';
}
}
16.05.2014, 10:45
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.
16.05.2014, 10:56
(
Last edited by KevinPRINCE; 16/05/2014 at 07:29 PM.
)
@Y_Less
So this code is legit? And will work no matter what? I mean it will search for that player only right?
Edit: @Kurtaa Thanks bro
Needed:
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; }
Needed:
Code:
if(player_name[i] == ' ') player_name[i] = '_';
17.05.2014, 08:49
Well Done !
07.06.2014, 18:58
Good one!
15.06.2014, 17:14
Very Good Nice upgrade!
But you could have added this to a_vehicles.inc:
for the ones that don't understand: this function exists but it isn't defined by default
But you could have added this to a_vehicles.inc:
Code:
native IsValidVehicle(vehicleid);
15.06.2014, 20:11
Quote:
Very Good Nice upgrade!
But you could have added this to a_vehicles.inc: Code:
native IsValidVehicle(vehicleid); |
Still, would be nice to finally get actually completed SA:MP libraries with all the related functions and definitions.
16.06.2014, 01:22
Quote:
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. |
16.06.2014, 01:45
Awesome!!!
« Next Oldest | Next Newest »
Users browsing this thread: 12 Guest(s)