SA-MP Forums Archive
[Q] earthquake - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [Q] earthquake (/showthread.php?tid=120841)



[Q] earthquake - BombaNick - 13.01.2010

Hello,
How i can create earthquake in my SA-MP server?

I saw something like this in one server ..


Re: [Q] earthquake - dice7 - 13.01.2010

Probably fast SetPlayerCamera placing and occasional SetCameraBehindPlayer


Re: [Q] earthquake - BombaNick - 13.01.2010

you can show me example?


Re: [Q] earthquake - BombaNick - 14.01.2010

UP...


Re: [Q] earthquake - Kurence - 14.01.2010

Код:
new Float:X,Float:Y,Float:Z;
GetPlayerPos(playerid,X,Y,Z);
SetPlayerCameraPos(playerid,X+random(10),Y+random(10),Z+random(10));
SetPlayerCameraLookAt(playerid,X,Y,Z);
place it into some kind of timer and then
Код:
SetCameraBehindPlayer(playerid);



Re: [Q] earthquake - BombaNick - 14.01.2010

Thanks..