02.04.2012, 11:12
How can i use this function "Streamer_UpdateEx" in OnPlayerRequestClass?
please help
please help
public OnPlayerRequestClass(playerid, classid){
native Streamer_UpdateEx(playerid, Float:x, Float:y, Float:z, worldid = -1, interiorid = -1);
return 1;}
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.
public OnPlayerRequestClass(playerid, classid)
{
new Float:x,Float:y,Float:z;
GetPlayerPos(playerid,x,y,z);
Streamer_UpdateEx(playerid,x,y,z);
return 1;
}