26.10.2010, 19:44
Galera to com um erro na minha public aki coloquei uma facu + isso ta dando erro 
Linha do erro
e que tipo eu nao sei se e isso mesmo quando acaba a facu eli ganha + 1 facu
e assim msm?

pawn Код:
public TempoFaculdade()
{
for(new i=0;i<MAX_PLAYERS;i++)
{
if(NaFaculdade[i] == 1)
{
new string[256];
minutos[i]++;
new Float:X,Float:Y,Float:Z;
GetPlayerPos(i,X,Y,Z);
PlayerPlaySound(i,1076,X,Y,Z);
format(string, sizeof(string), "Passou-se mais 1 minuto com vocк estudando agora vocк estб %d/2 minutos.", minutos[i]);
SendClientMessage(i, Azul, string);
if(minutos[i] == 2)
{
NaFaculdade[i] = 0;
minutos[i] = 0;
SendClientMessage(i, Verde, "Vocк completou seu tempo de estudo, pode ir agora.");
SpawnPlayer(i);
new nomepl[MAX_PLAYER_NAME];
PlayerInfo[playerid][pFacu]++;
GetPlayerName(i, nomepl, sizeof(nomepl));
PlayerPlaySound(i,1077,X,Y,Z);
KillTimer(TempoFacul);
SetPlayerInterior(i, 0);
}
}
}
return 1;
}
pawn Код:
PlayerInfo[playerid][pFacu]++;
