17.12.2010, 21:11
pawn Код:
public OnPlayerRequestClass(playerid, classid)
{
gClass[playerid] = classid;
switch (classid) {
case 0:
{
GameTextForPlayer(playerid, "~b~Police", 1000, 3);
SetPlayerPos(playerid, x,y,z);
SetPlayerCameraPos(playerid,x, y, z);
SetPlayerCameraLookAt(playerid, x, y, z);
}
case 1:
{
GameTextForPlayer(playerid, "~w~Civilian", 1000, 3);
SetPlayerPos(playerid, x,y,z);
SetPlayerCameraPos(playerid,x, y, z);
SetPlayerCameraLookAt(playerid, x, y, z);
}
}
return 1;
}