19.04.2012, 10:41
PHP код:
public OnPlayerRequestClass(playerid, classid)
{
new ZTeam = Class_Add(162,623.8319,-506.1828,16.3525,92.4209,WEAPON_CHAINSAW,22);
if(GetPlayerSkin(playerid) == ZTeam)
{
GameTextForPlayer(playerid, "~r~zombie Team", 1000, 4);
}
else if(GetPlayerSkin(playerid) == 2)
{
GameTextForPlayer(playerid, "~g~human Team", 1000, 4);