25.10.2013, 14:05
(
Последний раз редактировалось Kyance; 25.10.2013 в 16:01.
)
So, i followed a tutorial, on how to make teams.
It's all working, but i can't get it to switch from one team, to another(in the class selection "zone")
(It basically only shows the USA Army..)
Some stuff that i suppose will be needed
Ask if you will need anything else.. xd
VIDEO:
[ame]http://www.youtube.com/watch?v=KG9coqiIq2c[/ame]
It's all working, but i can't get it to switch from one team, to another(in the class selection "zone")
(It basically only shows the USA Army..)
Some stuff that i suppose will be needed
pawn Код:
public OnPlayerRequestClass(playerid, classid)
{
switch(classid)
{
case 0:
{
SetPlayerSkin(playerid, 287);
SetPlayerPos(playerid, 268.5824,1884.6180,-30.0938);
SetPlayerCameraPos(playerid, 268.4520,1886.7498,-29.5313);
SetPlayerCameraLookAt(playerid, 268.5824,1884.6180,-30.0938);
SetPlayerTeam(playerid, USA_Army);
GameTextForPlayer(playerid, "~b~USA Army", 500, 0);
}
case 1:
{
SetPlayerSkin(playerid, 112);
SetPlayerPos(playerid, -1335.3473,493.4825,61.2008);
SetPlayerCameraPos(playerid,-1335.3473,493.4825,61.2008);
SetPlayerCameraLookAt(playerid, -1335.3473,493.4825,61.2008);
SetPlayerTeam(playerid, Russian_Spetsnaz);
GameTextForPlayer(playerid, "~r~Russian Spetsnaz", 500, 0);
}
}
return 1;
}
VIDEO:
[ame]http://www.youtube.com/watch?v=KG9coqiIq2c[/ame]