[FilterScript] Snow for 0.3c (fixed)
#21

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.
Reply
#22

Really nice!
Reply
#23

The ideea is awsome xD
Reply
#24

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
Reply
#25

Yeah i kinda change the snow attach cords.
Reply
#26

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)
Reply
#27

Wow, nice.
Reply
#28

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

any help?
i use opas_objectstreamer (ger)
Reply
#29

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
Reply
#30

Kinda nice xD
Reply
#31

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

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
Reply
#33

weather is sunny but how was that snowy ??
Reply
#34

Great Job
Reply
#35

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
Reply
#36

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

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

Innovator ; D
Reply
#39

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


Forum Jump:


Users browsing this thread: 1 Guest(s)