Object kill! - 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: Object kill! (
/showthread.php?tid=250898)
Object kill! -
Admigo - 24.04.2011
Heey guys
I want to make sharks in water and if you touch it you go die(lol).
But how can i do it if the player touch object the player dies or is there a shark script?
Thanks Admigo
Re: Object kill! -
Alby Fire - 24.04.2011
pawn Код:
//OnPlayerUpdate
new
Float:p[3];
GetObjectPos(SHARK_OBJECT_ID, p[0], p[1], p[2]);
if(IsPlayerInRangeOfPoint(playerid, 1.3, p[0], p[1], p[2])) {
SetPlayerHealth(playerid, 0);
}
Re: Object kill! -
Admigo - 24.04.2011
Thnks dude tested and worked!
any ideas how to let the shark swim?
Re: Object kill! -
Admigo - 25.04.2011
How can i make a vehicle invisable?