09.12.2011, 15:34
On my class selection it seems like the skins are spinning like 25 percent each diffrent team, heres my onplayerrequestclass
Can you tell me why the skins are turning?
AND!! READ!!
Why the heck cant people chat ? The text doesnt show
PHP код:
public OnPlayerRequestClass(playerid, classid)
{
switch(classid)
{
case 0..2:
{
gTeam[playerid] = TEAM_GROVE;
SetPlayerPos(playerid,2530.1155,-1649.7635,14.5767);
SetPlayerCameraPos(playerid,2527.9509,-1651.2468,14.6196);
SetPlayerCameraLookAt(playerid,2530.1155,-1649.7635,14.5767);
GameTextForPlayer(playerid,"~g~Grove Street Families",3000,4);
SetPlayerColor(playerid,COLOR_GREEN);
}
case 3..5:
{
gTeam[playerid] = TEAM_BALLA;
SetPlayerPos(playerid,1977.9979,-1126.9419,25.9760);
SetPlayerCameraPos(playerid,1977.4221,-1129.9943,25.7971);
SetPlayerCameraLookAt(playerid,1977.9979,-1126.9419,25.9760);
GameTextForPlayer(playerid,"~p~Glen Park Ballas",3000,4);
SetPlayerColor(playerid,COLOR_PURPLE);
}
case 6..8:
{
gTeam[playerid] = TEAM_AZTECA;
SetPlayerPos(playerid,1745.5616,-2120.5334,13.5543);
SetPlayerCameraPos(playerid,1745.8317,-2117.6328,13.3828);
SetPlayerCameraLookAt(playerid,1745.5616,-2120.5334,13.5543);
GameTextForPlayer(playerid,"~w~Los Santos Azteca",3000,4);
SetPlayerColor(playerid,COLOR_CYAN);
}
}
AND!! READ!!
Why the heck cant people chat ? The text doesnt show