02.06.2015, 13:56
PHP код:
public OnGameModeInit()
{
AddPlayerClass(287,223.5235,1925.1610,23.6406,221.1536,0,0,0,0,0,0);
AddPlayerClass(247,-402.3290,2222.6426,43.5189,283.2926,0,0,0,0,0,0);
AddPlayerClass(122,-165.5029,2793.4370,83.2802,89.8229,0,0,0,0,0,0);
return 1;
}
public OnPlayerRequestClass(playerid, classid)
{
if(classid == 0)
{
SetPlayerPos(playerid, 223.5235,1925.1610,23.6406);
SetPlayerCameraPos(playerid, 228.5235,1929.1610,24.6406);
SetPlayerCameraLookAt(playerid, 223.5235,1925.1610,23.6406);
}
if(classid == 1)
{
SetPlayerPos(playerid, -402.3290,2222.6426,43.5189);
SetPlayerCameraPos(playerid, -407.3290,2226.6426,44.5189);
SetPlayerCameraLookAt(playerid, -402.3290,2222.6426,43.5189);
}
if(classid == 2)
{
SetPlayerPos(playerid,-165.5029,2793.4370,83.2802);
SetPlayerCameraPos(playerid, -170.5029,2797.4370,84.2802);
SetPlayerCameraLookAt(playerid, -165.5029,2793.4370,83.2802);
}
return 1;
}
and can somebody help me with those camera pos and look at co-ordinates?? they are kinda messed up
help me please
Thanks in advance