Vice City Multiplayer
VC:MP 0.3 => mIRC/pawn Scripting => Snippet Showroom => Topic started by: The_Lucifer on August 31, 2014, 06:56:53 pm
-
Hello all!, today I made a simple name detect system ( Detects custom names ), here it is:
OnPlayerConnect:
[pawn]new name[MAX_PLAYER_NAME];[/pawn]
[pawn]GetPlayerName( playerid, name, sizeof(name))[/pawn]
[pawn]if (!strcmp(name,"-NAME-",true))
{
SendClientMessage(playerid, BLUE, "Hi!, your a special member!");
}[/pawn]
For example, i have this:
[pawn]if (!strcmp(LuciferName,"NE.CrystalBlue",true))
{
SendClientMessage(playerid, BLUE, " ");
SendClientMessage(playerid, BLUE, " ");
SendClientMessage(playerid, BLUE, " ");
SendClientMessage(playerid, BLUE, " ");
SendClientMessageToAll(RED, "NE.CrystalBlue has Connected as a Special-Player!");
SendClientMessage(playerid, BLUE, "Hello! NE.CrystalBlue, your a Special player for this server.");
SendClientMessage(playerid, BLUE, "To loggin use /c conectar [ Password ]");
}[/pawn]
Hope u liked it, any bugs? tell me
-
Personally I don't find it useful, and I'd like to note that it's definitely made by Res
today I made a simple name detect system
probably today you have been given a reply message in which Res sent you the code
-
Dude, of course someone else in this world has made it too, but i scripted it and im just sharing it.
-
Dude, of course someone else in this world has made it too, but i scripted it and im just sharing it.
Even if you'd do so, Why would your code have Res' name?
-
Who is Res?! is Res NE.restricted? i have his name there becuase he is a special person, he took off all the warning of my server, thats why ._.
-
Who is Res?! is Res NE.restricted? i have his name there becuase he is a special person, he took off all the warning of my server, thats why ._.
Wow you even did notice that his name since few days is CrystalBlue
-
Of course, Im not blind, on his profile it says "Moderators change my name to NE.CrystalBlue ...