SA-MP Forums Archive
[FilterScript] Snow for 0.3c (fixed) - 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: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] Snow for 0.3c (fixed) (/showthread.php?tid=202121)

Pages: 1 2


Re: Snow for 0.3c - Krx17 - 25.12.2010

Why not just wait for 0.3c and it's particle objects and use those. I'm pretty sure there are white particles which can be used that will make it MUCH more realistic.


Re: Snow for 0.3c - MrDeath537 - 25.12.2010

Really nice!


Re: Snow for 0.3c - SkizzoTrick - 25.12.2010

The ideea is awsome xD


Re: Snow for 0.3c - justsomeguy - 25.12.2010

i tested it but the snow is missplaced its one my arm not on my head if you place it on the head it looks WAY better but still i like it 8/10


Re: Snow for 0.3c - Cypress - 27.12.2010

Yeah i kinda change the snow attach cords.


Re: Snow for 0.3c - justsomeguy - 27.12.2010

i i think i found the prolem when i start the server this is what i get:
Код:
[00:39:44]       sscanf plugin loaded.     

[00:39:44]    © 2009 Alex "******" Cole

[00:39:44]  ===============================

[00:39:44]   Loaded.
[00:39:44]  Loading plugin: streamer
[00:39:44] 

*** Streamer Plugin v2.5.1 by Incognito loaded ***

[00:39:44]   Loaded.
[00:39:44]  Loaded 2 plugins.

[00:39:44] 
[00:39:44] Filter Scripts
[00:39:44] ---------------
[00:39:44]   Loading filter script 'Tree.amx'...
[00:39:44]   Unable to load filter script 'Tree.amx'.
[00:39:44]   Loading filter script 'ls_elevator.amx'...
[00:39:44]   Loading filter script 'predatorv1.amx'...
[00:39:44]   Loading filter script 'drift.amx'...
[00:39:44]   Loaded 3 filter scripts.

[00:39:44] 
----------------------------------
[00:39:44]  SF GOOD 90'S BY ~[TOD]JUSTSOMEGUY~
[00:39:44] ----------------------------------

[00:39:44] Number of vehicle models: 11
[00:41:49] Incoming connection: 127.0.0.1:60531
[00:41:49] [join] [TOD]justsomeguy has joined the server (0:127.0.0.1)
[00:41:49] AttachPlayerObjectToPlayer : removed in 0.3. I can only attach global objects.
[00:43:14] [part] [TOD]justsomeguy has left the server (0:1)



Re: Snow for 0.3c (fixed) - ExeC - 03.01.2011

Wow, nice.


AW: Snow for 0.3c (fixed) - MuLtiVaN - 08.02.2011

dont work for me, all attaching objects, dont working.

any help?
i use opas_objectstreamer (ger)


Re: AW: Snow for 0.3c (fixed) - justsomeguy - 08.02.2011

Quote:
Originally Posted by MuLtiVaN
Посмотреть сообщение
dont work for me, all attaching objects, dont working.

any help?
i use opas_objectstreamer (ger)
opas_objectstreamer is dutch not german(i think) opas is exualy because the guy is called opa and that is dutch for grandpa


Re: Snow for 0.3c (fixed) - SkizzoTrick - 08.02.2011

Kinda nice xD


Re: Snow for 0.3c (fixed) - Mean - 08.02.2011

I can't get this working, snow just doesn't fall, even after the recompile...


Re: Snow for 0.3c (fixed) - bomm89 - 20.02.2011

dude it doesnt work i want to use it on a RP Server but nothing happened when i used the cmds
i have samp 3c


Re: Snow for 0.3c (fixed) - MahmutBey - 20.02.2011

weather is sunny but how was that snowy ??


Re : Snow for 0.3c (fixed) - Varkoll_ - 20.02.2011

Great Job


Re: Snow for 0.3c (fixed) - Ponchik - 21.02.2011

if (strcmp("/snow", cmdtext, true, 5) == 0)
it will work for /snow[anything] (/snowrfgerg534tr will call this string)
so...
if (strcmp("/snowon", cmdtext, true, 7) == 0)
and
if (strcmp("/snowoff", cmdtext, true, 8 ) == 0)
will never called
P.S. and nothing snow to me
i think all who writed "cool script" and somethink like this even not tested it, wite just for post =\
=====
i made like this
Код:
#include <a_samp>

public OnPlayerCommandText(playerid, cmdtext[])
{
    if (strcmp("/snow", cmdtext, true, 5) == 0)
    {
        new obj_id, msg[64];
        obj_id = CreatePlayerObject(playerid, 18864, 0, 0, 0, 0, 0, 0);
        AttachObjectToPlayer(obj_id, playerid, 1.5, 0.5, 0, 0, 1.5, 2);
        
        format(msg,sizeof(msg),"Object got ID %i", obj_id);
	    SendClientMessage(playerid,0xFFBF00FF,msg);
        return 1;
    }
    return 0;
}
just to test, and its not work, i see nothing >_<
ok, let's imagine that its work
1) Why in OnPlayerConnect you attach object to all player if you have command to turn off snow for all
2) For command /snow you have check IsPlayerAdmin(i) in incorrect spot, all users can use this command, but its turn on snow only for admins.
3) In /nosnow (that will never called, but let's use our imagination)
3.1) You destroy all objects, so why you need array SnowOff[MAX_PLAYERS] you dont use it, you just destroy objects
3.2) If you destroyed object in /nosnow and /snowoff, why you don't create it in /snow and /snowon? It will be very cool problems, you saved ID of object, then delete it, then other FS will create other object with ID thath you saved, and to some player, thath connected, you script will attach some random object, that created by other FS
?) If you have SnowOff[i] to detect fot what player use snow, for what not, reset it in On‌PlayerDisconnect
======
just show you your errors...
P.P.S. anybody tested it? it works? i can't make it work
P.P.P.S. work for me like thath:
Код:
#include <a_samp>

public OnPlayerCommandText(playerid, cmdtext[])
{
    if (strcmp("/snow", cmdtext, true, 5) == 0)
    {
        new obj_id, msg[64], Float:sx, Float:sy, Float:sz;
        GetPlayerCameraPos(playerid,sx,sy,sz);
        obj_id=CreatePlayerObject(playerid,18864, sx, sy, sz-5, 0.0, 0.0, 0.0, 300.0);
        
        format(msg,sizeof(msg),"Object got ID %i", obj_id);
	    SendClientMessage(playerid,0xFFBF00FF,msg);
        return 1;
    }
    return 0;
}
use this only for testing, objects not destroying


Re: Snow for 0.3c (fixed) - Cypress - 21.02.2011

It used to work before. Will be fixed as soon as possible.


Re: Snow for 0.3c (fixed) - titanak - 24.08.2011

it is too late no snow anymore , unless you wont live at alaska.


Re: Snow for 0.3c (fixed) - ViniBorn - 25.08.2011

Innovator ; D


Re: Snow for 0.3c (fixed) - Michael_Henry - 29.09.2011

will fortcarson redcounty also be snow? looking forward to it nice