Streamer_UpdateEx
#1

How can i use this function "Streamer_UpdateEx" in OnPlayerRequestClass?
please help
Reply
#2

God, as if one topic wasn't enough yet! Have you even bothered to read the plugin topic?

Quote:
Originally Posted by Incognito
View Post
Updates:

pawn Code:
native Streamer_UpdateEx(playerid, Float:x, Float:y, Float:z, worldid = -1, interiorid = -1);
Native Notes

- Use Streamer_UpdateEx to preload items before setting a player's position or to stream items under OnPlayerRequestClass.
Reply
#3

I did like this
pawn Code:
public OnPlayerRequestClass(playerid, classid){
native Streamer_UpdateEx(playerid, Float:x, Float:y, Float:z, worldid = -1, interiorid = -1);
return 1;}
But these errors
pawn Code:
C:\Documents and Settings\user\My Documents\Downloads\black 3d script\gamemodes\YGTDM.pwn(4968) : error 029: invalid expression, assumed zero
C:\Documents and Settings\user\My Documents\Downloads\black 3d script\gamemodes\YGTDM.pwn(4968) : error 017: undefined symbol "x"
C:\Documents and Settings\user\My Documents\Downloads\black 3d script\gamemodes\YGTDM.pwn(4968) : warning 215: expression has no effect
C:\Documents and Settings\user\My Documents\Downloads\black 3d script\gamemodes\YGTDM.pwn(4968) : error 001: expected token: ";", but found ")"
C:\Documents and Settings\user\My Documents\Downloads\black 3d script\gamemodes\YGTDM.pwn(4968) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


4 Errors.
How to fix?
Reply
#4

Please help me fast
Reply
#5

PHP Code:
public OnPlayerRequestClass(playeridclassid)
{
   new 
Float:x,Float:y,Float:z;
   
GetPlayerPos(playerid,x,y,z);
   
Streamer_UpdateEx(playerid,x,y,z);
   return 
1;

Reply
#6

LolXDDDDDD You serious man?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)