SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Plugin Development

Reply
 
Thread Tools Display Modes
Old 07/05/2017, 06:17 PM   #5631
Riddick94
High-roller
 
Riddick94's Avatar
 
Join Date: Mar 2010
Location: Poland
Posts: 1,905
Reputation: 184
Default Re: Streamer Plugin

Quote:
Originally Posted by IstuntmanI View Post
...
Would have never thought of anyone to be that experienced with Streamer and to be that happy to help.

Thanks.

That's what I had in my OnPlayerConnect:
Code:
PlayerData[playerid][E_PLAYER_LOOKING_AT_ITEMID] = PlayerData[playerid][E_PLAYER_LOOKING_AT_PLAYERID] = -1;

Let me play around a bit with the informations you have gave me and I will come up with the solution for sure. Also, have changed right away the function:

Code:
new lookingat_objectid = GetPlayerCameraTargetDynObject(playerid);

I will edit this post.

edit://
The issue was with the OnPlayerConnect where I haven't set the 2D Array value to INVALID but to '-1' instead. Thanks a lot!
__________________
The Last of Us (SA-MP) is a conversion of ideas from The Last of Us PS3® to San Andreas - Multi Player. Click at the image above, for more information or just click HERE.

__________________________________
SCRIPTING HELP

I am willing to help people to fix/manage and/or write their filterscripts/gamemodes from scratch for money.
Contact me via e-mail or just send me a private message.

FIXING ONLY IF you have created a thread asking for help beforehand!







Riddick94 is online now   Reply With Quote
Old 08/05/2017, 01:07 PM   #5632
rt-2
Huge Clucker
 
rt-2's Avatar
 
Join Date: Jun 2011
Location: Montréal, Québec, Canada
Posts: 240
Reputation: 18
Default Re: Streamer Plugin

I will do that next time I HAVE to dig to find information,, just weird that they previously provided it and just removed it instead of transfering.
__________________
rt-2
My hardcore first person 1994 simulation in development:
SA Advance Roleplay
rt-2 is offline   Reply With Quote
Old 10/05/2017, 06:30 PM   #5633
Riddick94
High-roller
 
Riddick94's Avatar
 
Join Date: Mar 2010
Location: Poland
Posts: 1,905
Reputation: 184
Default Re: Streamer Plugin

IsPlayerInDynamicArea - capable of recognizing only PLAYER. Is this possible to get it to work on NPCs too?

response:// @down,
You are probably mad. I'm not gonna use timer for that.
__________________
The Last of Us (SA-MP) is a conversion of ideas from The Last of Us PS3® to San Andreas - Multi Player. Click at the image above, for more information or just click HERE.

__________________________________
SCRIPTING HELP

I am willing to help people to fix/manage and/or write their filterscripts/gamemodes from scratch for money.
Contact me via e-mail or just send me a private message.

FIXING ONLY IF you have created a thread asking for help beforehand!








Last edited by Riddick94; 12/05/2017 at 02:10 PM.
Riddick94 is online now   Reply With Quote
Old 10/05/2017, 07:43 PM   #5634
ForT
Gangsta
 
ForT's Avatar
 
Join Date: Sep 2012
Location: Brasil - Florianópolis
Posts: 613
Reputation: 220
Default Re: Streamer Plugin

Quote:
Originally Posted by Riddick94 View Post
IsPlayerInDynamicArea - capable of recognizing only PLAYER. Is this possible to get it to work on NPCs too?
Take the position of the NPC and use IsPointInDynamicArea
__________________
ForT is online now   Reply With Quote
Old 18/05/2017, 07:52 AM   #5635
iLearner
Big Clucker
 
iLearner's Avatar
 
Join Date: Apr 2017
Posts: 150
Reputation: 49
Default Re: Streamer Plugin

Is there any function like CreateDynamicPlayer3DTextLabel ? (per player labels)
iLearner is offline   Reply With Quote
Old 18/05/2017, 07:55 AM   #5636
AbyssMorgan
High-roller
 
AbyssMorgan's Avatar
 
Join Date: Apr 2015
Location: Poland
Posts: 1,085
Reputation: 219
Default Re: Streamer Plugin

a_samp.inc
PHP Code:
CreatePlayer3DTextLabel(playeridtext[], colorFloat:XFloat:YFloat:ZFloat:DrawDistanceattachedplayer=INVALID_PLAYER_IDattachedvehicle=INVALID_VEHICLE_IDtestLOS=0); 
streamer.inc
Code:
CreateDynamic3DTextLabel(const text[], color, Float:x, Float:y, Float:z, Float:drawdistance,
attachedplayer = INVALID_PLAYER_ID, attachedvehicle = INVALID_VEHICLE_ID, testlos = 0,
worldid = -1, interiorid = -1, playerid = -1, Float:streamdistance = STREAMER_3D_TEXT_LABEL_SD, STREAMER_TAG_AREA areaid = STREAMER_TAG_AREA -1, priority = 0);
AbyssMorgan is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Include] Checkpoint / Area sub-streamer for incognito's streamer plugin Pottus Includes 11 21/03/2014 06:31 PM
Need 3dtextlabel Streamer And Gangzone Streamer !! Please Help . Not streamer plugin . jame42 Scripting Help 4 30/05/2012 07:33 AM
Streamer plugin 0.3d rt-2 Plugin Development 7 05/12/2011 06:17 PM
Streamer Plugin Help! ColdXX Everything and Nothing 2 21/08/2010 10:28 PM
Streamer Plugin! ColdXX Help Archive 10 18/07/2010 12:47 PM


All times are GMT. The time now is 06:54 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.