01.05.2014, 01:59
>> USE <<
OBS: Se for dar +rep, dк para o ViniBorn
pawn Код:
if(GetPlayerState(playerid) != PLAYER_STATE_DRIVER && newkeys & KEY_CROUCH)
{
if(CameraLigada[playerid] == 0)
{
GameTextForPlayer(playerid, "~w~camera~g~ ligada", 5000, 6);
AttachCameraToObject(playerid, ObjetoPlayer[playerid]);
CameraLigada[playerid] = 1;
}
else
{
GameTextForPlayer(playerid, "~w~camera~r~ desligada", 5000, 6);
SetCameraBehindPlayer(playerid);
CameraLigada[playerid] = 0;
}
return 1;
}