28.04.2017, 01:33
guys i added fixes inc and i got that while compile
Error:
that line :
Error:
Code:
D:\GTA PROG\for samp\servers\Sparta World Of Fun Server3e\SPTDM3E.pwn(47376) : warning 209: function "FIXES_OnPlayerInteriorChange" should return a value
that line :
Code:
#if defined ENABLE_SPEC public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid) { new x = 0; while(x!=MAX_PLAYERS) { if( IsPlayerConnected(x) && GetPlayerState(x) == PLAYER_STATE_SPECTATING && PlayerInfo[x][SpecID] == playerid && PlayerInfo[x][SpecType] == ADMIN_SPEC_TYPE_PLAYER ) { SetPlayerInterior(x,newinteriorid); } x++; } } #endif