Quote:
Originally Posted by Don_Speed
pawn Код:
stock CameraPrimeira(playerid,type) { if(type == 0) { SetCameraBehindPlayer(playerid); DestroyObject(firstperson[playerid]); } else if(type == 1) { firstperson[playerid] = CreateObject(19300, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0); AttachObjectToPlayer(firstperson[playerid],playerid, 0.0, 0.27, 0.7, 0.0, 0.0, 0.0); AttachCameraToObject(playerid, firstperson[playerid]); } return 1; }
|
Nгo entendi o
pawn Код:
stock CameraPrimeira(playerid,type)
{
if(type == 0)
{
SetCameraBehindPlayer(playerid);
DestroyObject(firstperson[playerid]);
}
else if(type == 1)
{
firstperson[playerid] = CreateObject(19300, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0);
AttachObjectToPlayer(firstperson[playerid],playerid, 0.0, 0.27, 0.7, 0.0, 0.0, 0.0);
AttachCameraToObject(playerid, firstperson[playerid]);
}
return 1;
}
Obs: Nem sei oque e stock, So quero que me passem o codigo completo sem erro.