[FilterScript] When Spawn !
#2

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.
Reply


Messages In This Thread
When Spawn ! - by Giroud12 - 08.04.2013, 10:36
Re: When Spawn ! - by Private200 - 08.04.2013, 11:09
Re: When Spawn ! - by Raza2013 - 08.04.2013, 15:04
Re: When Spawn ! - by Giroud12 - 09.04.2013, 09:12
Re: When Spawn ! - by ElMelo - 09.04.2013, 21:54
Re: When Spawn ! - by Giroud12 - 11.04.2013, 07:07

Forum Jump:


Users browsing this thread: 1 Guest(s)