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

Currently Outdated. I'm working on the new version.
Reply
#2

thank you very much...

I Like it... *****
Reply
#3

SetPlayerAttachedObject(playerid, Snow[playerid], 18864, 2);

Isn't Snow[playerid] supposed to be the an index number between 0 and 4? I don't get why you would need to create a object for every player when from my experience you would just do something like this

SetPlayerAttachedObject(playerid, 0, 18864, 2);

without the need for that loop
Reply
#4

Quote:
Originally Posted by MisterTickle
View Post
SetPlayerAttachedObject(playerid, Snow[playerid], 18864, 2);

Isn't Snow[playerid] supposed to be the an index number between 0 and 4? I don't get why you would need to create a object for every player when from my experience you would just do something like this

SetPlayerAttachedObject(playerid, 0, 18864, 2);

without the need for that loop
ofc it needs a loop otherwise it would create for id 0 only
Reply
#5

Quote:
Originally Posted by MestreKiller
View Post
ofc it needs a loop otherwise it would create for id 0 only
You are wrong.

If you add
SetPlayerAttached object on OnPlayerConnect, you don't need to create an object, it creates the snow by itself.
Reply
#6

aww... I was just making the same but I didn't get around and I was going to do it on the same way :P

anyways nice...


suggestion: you should do a command: /snow but if you work with a command you cannot use setplayerattached obejct, because the object has a radius, if players can choose theirselves if they want snow or not, they may not see snow wich is attached to other players when they didn't do the command /snow... for that you should use a virtual object attached to the player...



EDIT: Tested it and there is little problem... the object is attached on the player, but the player is not far enough in the object, one side of the screen snows, the other side doesn't... change the coords of the attached point
Reply
#7

Great Job! Going to test it now (:
Reply
#8

it will lagg the players like shit but okay nice script.
Reply
#9

NICE But, if 1 place is 100 slots players, bug?
Reply
#10

Thanks!
Reply
#11

Nice work.
Reply
#12

Nice job mean !
Reply
#13

Your code has no sense. When player spawns, you set the object on slot 0.
But when he disconnects and dies you checked for slot 2 and removed slot 2.
Reply
#14

Amazing ^^ never see that
Reply
#15

Great idea! will test on my gamemode.
Reply
#16

I wouldn't recommend attaching the snow to the player's head.

That means that if a player's head moves, the snow will all move with it. If a player crouches, the snow will be at a fucked up angle. I would recommend AttachObjectToPlayer
Reply
#17

Quote:
Originally Posted by Zh3r0
Посмотреть сообщение
Your code has no sense. When player spawns, you set the object on slot 0.
But when he disconnects and dies you checked for slot 2 and removed slot 2.
Yeah i'm very sorry i didn't had the time to make an edit today. I'll make an update tomorrow.


EDIT: Script Updated.
Reply
#18

Looks good, but can you post some more screens ?
And does it snow in interiors ?
Reply
#19

This woudn't work since it's using AttachObjectToPlayer.
Reply
#20

niceeeeeee...BEsides to me the snow looks sortta brownish D:
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)