11.02.2009, 18:11
Quote:
|
Originally Posted by WackoX
* Did you use ''return 1;'' or ''return 0;'' above that piece of script?
* Are there other gametext's at that moment? * Did you compile, and restarted your gamemode/server? |
2)No
3)Yes I'm not that stupid lol
EDIT:
I got it now like this but it still doesn't work:
pawn Код:
public OnPlayerRequestClass(playerid, classid)
{
SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746);
SetPlayerFacingAngle(playerid, 90.0);
SetPlayerCameraPos(playerid, 1955.3783, 1343.1572, 15.3746);
SetPlayerCameraLookAt(playerid, 1958.3783, 1343.1572, 15.3746);
return 1;
}
SetPlayerTeamFromClass(playerid, classid)
{
if (classid == 0 || classid == 1 || classid == 2)
{
gTeam[playerid] = TEAM_HITMAN;
GameTextForPlayer(playerid, "Hitman", 500, 2);
}
}

