17.03.2014, 23:50
Depois que atualizei a streamer com plugins e includes deu esse erros no GM:
Include
GameMode
pawn Код:
C:\Users\User\Documents\Leonardo R\New server noiz dois\gm by master_pawn2\gm by master_pawn\Brasil Gold Revolution RP\pawno\include\streamer.inc(166) : error 017: undefined symbol "OBJECT_MATERIAL_SIZE_256x128"
C:\Users\User\Documents\Leonardo R\New server noiz dois\gm by master_pawn2\gm by master_pawn\Brasil Gold Revolution RP\pawno\include\streamer.inc(341) : warning 235: public function lacks forward declaration (symbol "OnPlayerEditObject")
C:\Users\User\Documents\Leonardo R\New server noiz dois\gm by master_pawn2\gm by master_pawn\Brasil Gold Revolution RP\pawno\include\streamer.inc(364) : warning 235: public function lacks forward declaration (symbol "OnPlayerSelectObject")
C:\Users\User\Documents\Leonardo R\New server noiz dois\gm by master_pawn2\gm by master_pawn\Brasil Gold Revolution RP\pawno\include\streamer.inc(366) : error 017: undefined symbol "SELECT_OBJECT_PLAYER_OBJECT"
C:\Users\User\Documents\Leonardo R\New server noiz dois\gm by master_pawn2\gm by master_pawn\Brasil Gold Revolution RP\pawno\include\streamer.inc(487) : warning 235: public function lacks forward declaration (symbol "OnPlayerWeaponShot")
C:\Users\User\Documents\Leonardo R\New server noiz dois\gm by master_pawn2\gm by master_pawn\Brasil Gold Revolution RP\pawno\include\streamer.inc(487) : warning 219: local variable "hitid" shadows a variable at a preceding level
C:\Users\User\Documents\Leonardo R\New server noiz dois\gm by master_pawn2\gm by master_pawn\Brasil Gold Revolution RP\pawno\include\streamer.inc(489) : error 017: undefined symbol "BULLET_HIT_TYPE_PLAYER_OBJECT"
C:\Users\User\Documents\Leonardo R\New server noiz dois\gm by master_pawn\gm by master_pawn\Brasil Gold Revolution RP\gamemodes\BGR.pwn(15658) : warning 209: function "Streamer_OnPlayerDisconnect" should return a value
C:\Users\User\Documents\Leonardo R\New server noiz dois\gm by master_pawn\gm by master_pawn\Brasil Gold Revolution RP\gamemodes\BGR.pwn(16325) : warning 209: function "Streamer_OnPlayerPickUpPickup" should return a value
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
3 Errors.
pawn Код:
native SetDynamicObjectMaterialText(objectid, materialindex, const text[], materialsize = OBJECT_MATERIAL_SIZE_256x128, const fontface[] = "Arial", fontsize = 24, bold = 1, fontcolor = 0xFFFFFFFF, backcolor = 0, textalignment = 0);//linha 166
public OnPlayerSelectObject(playerid, type, objectid, modelid, Float:fX, Float:fY, Float:fZ)//linha 341
{
if (type == SELECT_OBJECT_PLAYER_OBJECT)
{
Streamer_CallbackHook(STREAMER_OPSO, playerid, type, objectid, modelid, fX, fY, fZ);
}
#if defined Streamer_OnPlayerSelectObject
return Streamer_OnPlayerSelectObject(playerid, type, objectid, modelid, fX, fY, fZ);
#else
return 1;
#endif
}
public OnPlayerSelectObject(playerid, type, objectid, modelid, Float:fX, Float:fY, Float:fZ)//linha 364
{
if (type == SELECT_OBJECT_PLAYER_OBJECT)//linha 367
{
Streamer_CallbackHook(STREAMER_OPSO, playerid, type, objectid, modelid, fX, fY, fZ);
}
#if defined Streamer_OnPlayerSelectObject
return Streamer_OnPlayerSelectObject(playerid, type, objectid, modelid, fX, fY, fZ);
#else
return 1;
#endif
}
public OnPlayerWeaponShot(playerid, weaponid, hittype, hitid, Float:fX, Float:fY, Float:fZ)// linha 487
{
if (hittype == BULLET_HIT_TYPE_PLAYER_OBJECT)// linha 489
{
Streamer_CallbackHook(STREAMER_OPWS, playerid, weaponid, hittype, hitid, fX, fY, fZ);
}
#if defined Streamer_OnPlayerWeaponShot
return Streamer_OnPlayerWeaponShot(playerid, weaponid, hittype, hitid, fX, fY, fZ);
#else
return 1;
#endif
}
pawn Код:
if (PlayerInfo[playerid][pRoadblock] != 0)
{
RemoveRoadblock(playerid);
}
}//linha 15658
pawn Код:
public OnPlayerPickUpPickup(playerid, pickupid)
{
for(new i = 0; i <= 300; i ++)
{
if(Pickup[i] == pickupid)
{
DestruirPickupCaido(i);
}
if(pickupid == Pic)
{
ShowMenuForPlayer(Test, playerid);
TogglePlayerControllable(playerid, 0);
}
}
}//16325