Skins [My first Filterscript] -
Swizzzy - 31.07.2011
[FS]Skins
Hey Sa-mp Community
This is my First Filterscript, Seen as though i only started using pawno to script and looked at a few tutorials about 30 minutes ago i think this is pretty alright for my first try, And i know this may be rubbish and many scripters could make this in about 5 minutes but it's my first time :P
What does it do ?: This is a Simple Skin System for any Death match Script, I'll be updating it to make it as best as it can be with Dialog responses and Dialog boxes to make it look as nice as it can be..
Download link
Thank you for understanding, As this may be pointless for some and as of good use for others.
Just type /skinhelp and you'll be on your way !
Re: Skins [My first Filterscript] -
Horrible - 31.07.2011
LOL
it will not works
u must blank ongamemodeinit
and on top type #define FILTERSCRIPT
and remove the code from gamemodeinit to filterscriptinit
AW: Skins [My first Filterscript] -
Forbidden - 31.07.2011
simple do this on OnPlayerConnect(to know that a player comes online)
new Name[MAX_PLAYERS],str[128];
GetPlayerName(Name,sizeof(Name));
format(str,sizeof(str)"Player %s joined the Server,willcome!",Name);
SendClientMessageToAll(playerid,str,0xFFFFFFFF);
//Havent tested it ,but it should work..
Re: AW: Skins [My first Filterscript] -
Swizzzy - 31.07.2011
Quote:
Originally Posted by Forbidden
simple do this on OnPlayerConnect(to know that a player comes online)
new Name[MAX_PLAYERS],str[128];
GetPlayerName(Name,sizeof(Name));
format(str,sizeof(str)"Player %s joined the Server,willcome!",Name);
SendClientMessageToAll(playerid,str,0xFFFFFFFF);
//Havent tested it ,but it should work..
|
I tried that but i just got a hell alot of Errors lol, I'm still learning, But it worked for me :/
AW: Skins [My first Filterscript] -
Forbidden - 31.07.2011
new Name[MAX_PLAYERS],str[128];//Name of all players|str for string cells=128
GetPlayerName(playerid,Name,sizeof(Name));//Get the name of the players
format(str,sizeof(str),"Spieler %s ist dem Server beigetreten!",Name);//formats the string
SendClientMessageToAll(0xFFFFFFFF,str);//sends the message with the string and color