17.10.2012, 00:48
PHP код:
public OnPlayerRequestClass(playerid, classid)
{
switch(classid)
{
case 0:
{
SetPlayerTeam(playerid, TIME_LADRAO);
GameTextForPlayer(playerid, "Ladrгo", 2500, 3);
}
case 1:
{
SetPlayerTeam(playerid, TIME_POLICIA);
GameTextForPlayer(playerid, "Policia", 2500, 3);
}
}
SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746);
SetPlayerCameraPos(playerid, 1958.3783, 1343.1572, 15.3746);
SetPlayerCameraLookAt(playerid, 1958.3783, 1343.1572, 15.3746);
return 1;
}