22.05.2011, 17:07
Alright, that helps already a lot. After studying a lot of what you did in wiki and reading it several times there are still some questions about it:
Thanks for your time.
pawn Код:
if(down) { // What do you mean with 'down'? What do you ask here for?
if(--opacity <= 0) { // Where did you define --opacity and what is it?
TextDrawDestroy(tText);
return ;
}
} else {
if(++opacity >= 255) { // Where did you define ++opacity and what is it?
SetTimerEx("cbOpacity", 100, false, "iiib", playerid, _:tText, opacity, true);
SetPlayerCameraPos(playerid, cX, cY, cZ);
SetPlayerCameraLookAt(playerid, X, Y, Z);
return;
}
}
pawn Код:
SetCameraPos(playerid, X + (floatcos(A, degrees) * R), Y + (floatsin(A, degrees) * R), Z + 10);
// Shouldn't that be SetPlayerCameraPos and what actually happens here?
