SA-MP Forums Archive
Snow everywhere - 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)
+--- Thread: Snow everywhere (/showthread.php?tid=303266)



Snow everywhere - RBTDM - 12.12.2011

Hello!
I saw in some servers that everywhere snow.
see this video http://www.youtube.com/watch?v=SGmnZ...ature=*********
How can i make like that?


Re: Snow everywhere - T0pAz - 12.12.2011

using CreateObject and GetPlayerPos. Please be more specific


Re: Snow everywhere - RBTDM - 12.12.2011

Can anyone tell me more about this? it will work only in 3d?


Re: Snow everywhere - T0pAz - 12.12.2011

SEE THIS
OR
THIS


Re: Snow everywhere - RBTDM - 12.12.2011

it will work only in 3d? or in 3c?


Re: Snow everywhere - English-Conceptz - 12.12.2011

well considering both of the examples above were posted pre-2010, what do you think using your common sense?


Re: Snow everywhere - Azzeto - 12.12.2011

Okay, sorry for how they've responded, with that dickish type of attitude. but the answers to your question.
1. It depends where you would want the snow to start, would you want it on player connect ? Or OnPlayerSpawn, either way if you want it for OnPlayerSpawn you would get their position and create the object then attach the object to the play and raise it a bit ( I think )
PHP код:
new Float:xFloat:yFloat:z,snow;
GetPlayerPos(playerid,x,y,z);
snow CreateObject(modelid,x,y,z,0.0,0.0,0.0,0.0);
AttachObjectToPlayer(snowplayeridFloat:OffsetXFloat:OffsetYFloat:OffsetZFloat:rXFloat:rYFloat:rZ
Thats the code , I think it'll work, you'd have to edit it to what you needed, like the modelid and objectid, for objectid you would probably

I'm not sure if that code will work, never tested it and just wrote it out here really fast.
question 2.
2. Yes, that filterscript he posted may work in 0.3d, and it might not, try it and see.


Re: Snow everywhere - RBTDM - 12.12.2011

I need almost the same like this video.
http://www.youtube.com/watch?v=SGmnZ...ature=*********
Can you please help me to make it?


Re: Snow everywhere - Azzeto - 12.12.2011

I don't know, on that video, Either he put on object like right under the road or he had a mod installed into his samp.


Re: Snow everywhere - PlayHard - 12.12.2011

It's a mod. Search for GTA San Andreas Snow Mod on ******.