Trick Questions - 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: Trick Questions (
/showthread.php?tid=127904)
Trick Questions -
Rizard - 15.02.2010
FIRST QUESTION
How to check if a player is in a vehicle (meaning; EXACTLY THAT vehicle created)

I was thinking:
new vehicle1 = CreateVehicle(...,...,...,..,..,...);
and
if(GetPlayerVehicle(playerid) == vehicle1) ... it all seems to simple to be true. I know I can check the id but it ain't the same right? cause when that vehicle isn't spawned another vehicle will get that id ...
NEXT QUESTION
Is there any way at all

to extract the GTA SA vehicle coцrdinates from some file

I can realy use them
NEXT QUESTION
Possible to change the weather over time and different weather over different city's ...

(eg: LV = storm, LS = cloudy... etc) <-- changing ofc
NEXT QUESTION
Something like OnPlayerZoneChange() exists

- It will help me reduce timers in my gamemode!
NEXT QUESTION
Where is the standard $-100 OnPlayerDeath() coming from

:O
NEXT QUESTION
can we check with pawno wether an object is destroyed

like an ATM machine...
Thnx in advance
Rizard
Re: Trick Questions -
BlackFoX - 15.02.2010
Код:
Possible to change the weather over time and different weather over different city's ...? (eg: LV = storm, LS = cloudy... etc) <-- changing ofc
Check the Zone arround the Player an Change Weather for him
Re: Trick Questions -
Rizard - 15.02.2010
Good thinking, tyvm!
Any other answers?
Re: Trick Questions -
BlackFoX - 15.02.2010
Код:
Something like OnPlayerZoneChange() exists? - It will help me reduce timers in my gamemode!
You can use a Player Var , set it to a Value maybe 1 and if it is 1 ignore it
Код:
if(playervar[playerid])continue; // goto next Player id and check it ( continue if it is a loop )
Re: Trick Questions -
Rizard - 15.02.2010
How to check if the zone changes then?
And I'm not following you completely there...

can you re-explain it?
Thnx already
PS: an answer to the other questions (anyone else?) is very welcome
Re: Trick Questions -
Rizard - 16.02.2010
Not to simple questions then?
NEXT QUESTION
Does nigth vision work without bugs
NEXT QUESTION
How many extra objects can I add? Is there even a limit
NEXT QUESTION
Can I change the radio station for (a) player(s)
I know it takes a few minutes to write a reply but you'd help me A LOT with it
Thnx in advance!!!
Rizard