15.08.2015, 14:39
So basically was trying to do it, after putting the coordinates I noticed some light that comes and goes over and over again - if I attempt to shoot also for example I might get the 'loading' box and my screen goes sort of black if you know what do I mean..
Some screeshots for the light:
Any idea why this happens? and how would I prevent it? I believe that I can prevent it as I saw some first person system created by some member here in the community and he was using this function too.
Any help would be appreciated fellas
Here is an example just to make it clear:
Some screeshots for the light:
Any idea why this happens? and how would I prevent it? I believe that I can prevent it as I saw some first person system created by some member here in the community and he was using this function too.
Any help would be appreciated fellas
Here is an example just to make it clear:
pawn Код:
CMD:startmode(playerid, params[])
{
if(FPS[playerid]) return SetCameraBehindPlayer(playerid), DestroyDynamicObject(FPSObject[playerid]), FPS[playerid] = 0, SendClientMessage(playerid, -1, "You have stopped using the first person mode!");
new Float:X, Float:Y, Float:Z; GetPlayerPos(playerid, X, Y, Z);
FPSObject[playerid] = CreateObject(19300, X, Y, Z, 0.0, 0.0, 0.0);
AttachObjectToPlayer(FPSObject[playerid], playerid, 0.0, 0.12, 0.7, 0.0, 0.0, 0.0);
SetCameraBehindPlayer(playerid);
AttachCameraToObject(playerid, FPSObject[playerid]);
FPS[playerid] = 1;
SendClientMessage(playerid, -1, "You have started using the first person mode!");
return 1;
}