![]() ![]() Ply:Give ( "weapon_rpg" ) -Give him a the rpg Ply:GiveAmmo ( 255, "smg1" ) end if (ply:IsAdmin ( ) ) then -Is the player an admin? if (team = 1 ) then -Is the player on the first team? This is also placed into \gamemode\aįunction GM:PlayerLoadout (ply ) local team = ply:Team ( ) -Here we retrieve the player's team. We will start by changing the default weapons of the player. 0 = fully translucent, 255 = fully opaque. ![]() Alpha determines how opaque or translucent the color is. Its arguments are: Color(red,green,blue,alpha).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |