SA-MP Forums Archive
[FilterScript] When Spawn ! - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] When Spawn ! (/showthread.php?tid=429121)



When Spawn ! - Giroud12 - 08.04.2013

There Are Many Function In This Script :

-Welcome Messages
-Player Spawn Messages
-When Spawn Player Get:
100 Health+50 Armour+Tec9

Command:/showrules

Note:
Edit The Rules On Your Own Opinion
Edit Your Welcome Messages On Your Own

Download:
http://www.uploadmb.com/dw.php?id=1365418792


Re: When Spawn ! - Private200 - 08.04.2013

pawn Код:
public OnPlayerSpawn(playerid)
{
     string[128], name[MAX_PLAYER_NAME]
     GetPlayerName(playerid, name, sizeof(name);

     SendClientMessage(playerid, 0xFFFF00FF, "Welcome to the server.");
     format(string, 2000, "%s has spawned", name);
     SendClientMessageToAll(0xAFAFAFAA, string);
     SetPlayerHealth(playerid, 100);
     SetPlayerArmour(playerid, 100);
     GivePlayerWeapon(playerid, 32, 50000);
     return 1;
}
Just a fast one I made over here. These are not "Many Functions", but easy things you can do in 5 minutes. Try to spend more time on your scripts pal, but, if this is your first one, good job then.

PS: The codes I gave below are only "OnPlayerSpawn" part.. But, anyway, next time try to do something harder or better to be done.


Re: When Spawn ! - Raza2013 - 08.04.2013

Quote:
Originally Posted by Private200
Посмотреть сообщение
pawn Код:
public OnPlayerSpawn(playerid)
{
     string[128], name[MAX_PLAYER_NAME]
     GetPlayerName(playerid, name, sizeof(name);

     SendClientMessage(playerid, 0xFFFF00FF, "Welcome to the server.");
     format(string, 2000, "%s has spawned", name);
     SendClientMessageToAll(0xAFAFAFAA, string);
     SetPlayerHealth(playerid, 100);
     SetPlayerArmour(playerid, 100);
     GivePlayerWeapon(playerid, 32, 50000);
     return 1;
}
Just a fast one I made over here. These are not "Many Functions", but easy things you can do in 5 minutes. Try to spend more time on your scripts pal, but, if this is your first one, good job then.

PS: The codes I gave below are only "OnPlayerSpawn" part.. But, anyway, next time try to do something harder or better to be done.
Ohh these is a new Filter Scripted Version of Giroud i think we have to Say Thanks?


Re: When Spawn ! - Giroud12 - 09.04.2013

#Private200 Im Newbie Bro,I Will Learn It
#Raza2013 Thx,Its Original Script Of Me


Re: When Spawn ! - ElMelo - 09.04.2013

Well, 8 lines but nice because you are newbie.


Re: When Spawn ! - Giroud12 - 11.04.2013

Thx #ElMelo