25.12.2010, 02:54
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.
[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)
#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; }
#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; }