(((Pomoc Hitnoo))Camera Position

Započeo [GU:RP] ivica 156, Oktobar 26, 2010, 22:07:39 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 2 gostiju pregledaju ovu temu.

Kak mogu postavit kad se reg/login cameru position jel to prek mta ili?

ala brate koristi trazi..bilo je ovakvih 10000 tema..ali kad vec komentarisem da ti pomognem
Ja koristim Ravens pa je ovako kod mene

public OnPlayerRequestClass(playerid, classid)
public OnPlayerRequestClass(playerid, classid)
{
new string[768];
PlayerPlaySound(playerid, 1068, 0.0, 0.0, 0.0);
PlayerInfo[playerid][pModel] = Peds[classid][0];
    if(IsPlayerNPC(playerid))
{
    SpawnPlayer(playerid);
return 1;
}
if (RegistrationStep[playerid] == 0 && gPlayerLogged[playerid] != 1)
{
ClearChatbox(playerid, 10);
format(string, sizeof(string), "Dobrodosli na .. Roleplay Server | Verzija %s", Version);
SendClientMessage(playerid, COLOR_YELLOW, string);
SendClientMessage(playerid, COLOR_YELLOW2, " ");
new message[] = "\t\t\t\t\t\t LanTech Roleplay Pravila \n\n\n\n\n\n 1- Zabranjeno psovanje\n\n 2- Zabranjeno koristiti bilo koje vrste pomagala.";
new message2[] = "\n\n 3- Postuj /pravila.\n\n 4- Citanjem ovog prihvacas pravila (1) (2) (3) (5). \n\n 5- Zabranjeno reklamiranje drugih servera\n\n\n Pritisni 'razumjem' ako razumjes pravila, 'Izlaz' Ako napustas igru.";
format(string, sizeof(string),"%s %s",message,message2);
ShowPlayerDialog(playerid, 1244, DIALOG_STYLE_MSGBOX,"... Roleplay Pravila",string,"Razumjem","Izlaz");
SetPlayerCameraPos(playerid, 1890.1014,-1194.7969,25.8091);
SetPlayerCameraLookAt(playerid, 1933.4393,-1196.2479,18.8163);
//PlayerPlaySound(playerid, 1187, 0.0, 0.0, 0.0);
PlayerInfo[playerid][pModel] = Peds[classid][0];
SetPlayerTeamFromClass(playerid,classid);
}

Izmjeni ovo i stavi koordinate koje zelis
SetPlayerCameraPos(playerid, X,Y,Z);
SetPlayerCameraLookAt(playerid, X,Y,Z);




Procitaj pravila foruma. Ovo ti je treca ista tema. LOCK