02.09.2011, 00:42
(
Last edited by Tee; 02/09/2011 at 06:12 AM.
)
Quote:
You didn't define color Grey, spectatorid, specid....than string in command spec and you didn't comment two lines...
I think that's all ![]() Edit: And also Float: new Float:SpecX[MAX_PLAYERS], Float:SpecY[MAX_PLAYERS], Float:SpecZ[MAX_PLAYERS], vWorld[MAX_PLAYERS], Inter[MAX_PLAYERS]; and argument 2 Code:
public OnPlayerDisconnect(playerid, reason) { if(IsBeingSpeced[playerid] == 1)//If the player being spectated, disconnects, then turn off the spec mode for the spectator. { TogglePlayerSpectating(spectatorid,0);// This justifies what's above, if it's not off then you'll be either spectating your connect screen, or somewhere in blueberry (I don't know why) } return 1; } |