Using SetPlayerDrunkLevel for ShakePlayerCamera!
#1

pawn Код:
dcmd_shake(playerid, params[])
{
    #pragma unused params
    SetTimerEx("shakeit", 100, 1, "i", playerid);
    return 1;
}

forward shakeit(playerid);
public shakeit(playerid)
{
    SetPlayerDrunkLevel(playerid, 2005);
    return 1;
}
It shakes your camera like when a train is about to de-rail. Unfortunately I can't show you with a video as when I record with FRAPS it stops working, probably due to the FPS dropping. Does it work for you? It doesn't look great, hopefully ShakePlayerCamera will be added one day.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)