Spawn at hospital when dead - 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: Spawn at hospital when dead (
/showthread.php?tid=130647)
Re: Spawn at hospital when dead -
adsy - 28.02.2010
Quote:
Originally Posted by `Robo
Quote:
Originally Posted by Don Correlli
Another immature kid? Suck off pal.
He wanted a code, i gave him a code. He wants to learn PAWN but he doesn't want to read, so what should i do? I can't force him to read the manual.
And if you're talking about idiots, look at yourself first and you'll find a good idiot.
|
You're so mature. Fuck off kid. You're a wannabe. Grow some balls, hit puberty, then talk to me. Kthx.
|
lol, saying that to a 5000+ poster
Easiest thing to remember is that every seperate thing you do has a function available to it
example
onplayerspawn
onplayerdeath
onplayerentervehicle
onvehicledeath
etc etc
so when you spawn you know that it will run through the onplayerspawn function
when you die it will run through the onplayerdeath function
when you enter a car it will run through the onplayerentervehicle function
not all functions are needed to be able to run a gamemode (such as the last 2 in the list above)