[Plugin] Streamer Plugin

Quote:
Originally Posted by $€ЯĢ
Quote:
Originally Posted by Excellent
Hello,
The Plugin functions perfectly, but is there a Map Converter for it?


Sry for my bad English
Use serverFFS with YSI object streamer option or just make your custom format if you need additional parameters.
Thx
Reply

Ups I meant convertFFS
Reply

How can i make it so my checkpoint can be disabled and enabled?



I have a derby and i want to make it so i can enable and disable the checkpoint.


This is what i did, but it's not working.


Код:
Код:
	if(strcmp(cmdtext, "/closederby", true) == 0)
	{
	DestroyDynamicCP(21);
  return 1;
	}
	
	if(strcmp(cmdtext, "/openderby", true) == 0)
	{
	TogglePlayerDynamicCP(playerid, 21, true);
  return 1;
	}
Reply

The mistake is here:
pawn Код:
if(strcmp(cmdtext, "/closederby", true) == 0)
    {
    DestroyDynamicCP(21);
  return 1;
    }
It should be:
pawn Код:
if(strcmp(cmdtext, "/closederby", true) == 0)
{
  for(new i; i<MAX_PLAYERS; i++)
   TogglePlayerDynamicCP(i, 21, true);
  return 1;
}
Reply

I get an Error if I this Callback inserts

pawn Код:
C:\Users\\\Desktop\\\gamemodes\Q.pwn(619) : error 055: start of function body without function header
C:\Users\\\Desktop\\\gamemodes\Q.pwn(620) : error 010: invalid function or declaration
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


2 Errors.
here the lines

pawn Код:
public OnPlayerPickUpDynamicPickup(playerid, pickupid);
{
    return 1;
}
can somebody help me?
Reply

You dont need the ';' in a public 'name' (only when you're forwarding a public)
pawn Код:
public OnPlayerPickUpDynamicPickup(playerid, pickupid)
{
    return 1;
}
Reply

Quote:
Originally Posted by [03
Garsino ]
You dont need the ';' in a public 'name' (only when you're forwarding a public)
pawn Код:
public OnPlayerPickUpDynamicPickup(playerid, pickupid)
{
    return 1;
}
wtf. this I have not seen at all


thank you
Reply

didnt read the whole topic, soz.


Suxs it doesn't have Attach Object to Player
Or
Can you use sa-mp default function ?
Reply

Quote:
Originally Posted by cmg4life
didnt read the whole topic, soz.


Suxs it doesn't have Attach Object to Player
Or
Can you use sa-mp default function ?
You need to create global object (CreateObject) to be able to use AttachObjectToPlayer.
Reply

I've got a doubt, the objects doesn't show up in the login gui, they appear to me after spawning. How can i change so?
Reply

Ah, I got everything to work now, thanks for the help guys... I had a ; when I didn't need it!!! Stupid mistake that caused 100's of errors! Thanks, works good... Would it hurt to have a draw distance of 500 instead of 200? Thanks!
Reply

Quote:
Originally Posted by RoamPT
I've got a doubt, the objects doesn't show up in the login gui, they appear to me after spawning. How can i change so?
When you are not spawned your position is 0,0,0. You can stream them where you need them manually with Streamer_UpdateEx.
Reply

Quote:
Originally Posted by $ЂЯĢ
Quote:
Originally Posted by cmg4life
didnt read the whole topic, soz.


Suxs it doesn't have Attach Object to Player
Or
Can you use sa-mp default function ?
You need to create global object (CreateObject) to be able to use AttachObjectToPlayer.
No shit...

My question is, does this streamer have AttachObjectToPlayer or i can use streamed objects with default sa-mp function ?

Also if i use normal objects + streamed objects, conflicts appear.

EDIT: Seems AttachObjectToPlayer with Dynamic Objects, doesn't work, would be cool if added.
Reply

Quote:
Originally Posted by cmg4life
Quote:
Originally Posted by $ЂЯĢ
Quote:
Originally Posted by cmg4life
didnt read the whole topic, soz.


Suxs it doesn't have Attach Object to Player
Or
Can you use sa-mp default function ?
You need to create global object (CreateObject) to be able to use AttachObjectToPlayer.
No shit...

My question is, does this streamer have AttachObjectToPlayer or i can use streamed objects with default sa-mp function ?

Also if i use normal objects + streamed objects, conflicts appear.

EDIT: Seems AttachObjectToPlayer with Dynamic Objects, doesn't work, would be cool if added.
Yet what would be a problem? Just limit to the maximum number of dynamic objects, for example, if you have 10 global object you need to set the dynamic object limit to 244 not 254!
Reply

Quote:
Originally Posted by cmg4life
Quote:
Originally Posted by $ЂЯĢ
Quote:
Originally Posted by cmg4life
didnt read the whole topic, soz.


Suxs it doesn't have Attach Object to Player
Or
Can you use sa-mp default function ?
You need to create global object (CreateObject) to be able to use AttachObjectToPlayer.
No shit...

My question is, does this streamer have AttachObjectToPlayer or i can use streamed objects with default sa-mp function ?

Also if i use normal objects + streamed objects, conflicts appear.

EDIT: Seems AttachObjectToPlayer with Dynamic Objects, doesn't work, would be cool if added.
Read Incognito's reply earlier in this topic
http://forum.sa-mp.com/index.php?top...8555#msg948555
Reply

Pickups don't show in interiors? Even with the '-1' values set.
Reply

Quote:
Originally Posted by Josh!
Pickups don't show in interiors? Even with the '-1' values set.
They do work. Make sure you have your Coord's and VW correct.
Reply

Can I have the old 2.1 Version of the streamer please? .dll and .so? PM me

EDIT: Error obtaining native adresses? What is this? Why I get this when I start server. Please help

This is what I get after updating the streamer from 2.1 to 2.3.7 help pls
Reply

Quote:
Originally Posted by emle98
Can I have the old 2.1 Version of the streamer please? .dll and .so? PM me

EDIT: Error obtaining native adresses? What is this? Why I get this when I start server. Please help

This is what I get after updating the streamer from 2.1 to 2.3.7 help pls
Why would you want the old version anyway? Newer is usually better!!
Reply

emle98: Did you recompile with the new include?
Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)