[DUV]Money
#6

Quote:
Originally Posted by [SFP
$ucr3[CX] « ]
Quote:
Originally Posted by [VGS
speliarmos_OC ]
Quote:
Originally Posted by netado
@EDIT

C:\Documents and Settings\Carlos\Meus documentos\Downloads\gta server0.3a\gamemodes\netadopt1.pwn(486) : error 017: undefined symbol "MAX_UPDATES"
C:\Documents and Settings\Carlos\Meus documentos\Downloads\gta server0.3a\gamemodes\netadopt1.pwn(48 : error 028: invalid subscript (not an array or too many subscripts): "GetPlayerMoney"
C:\Documents and Settings\Carlos\Meus documentos\Downloads\gta server0.3a\gamemodes\netadopt1.pwn(48 : warning 215: expression has no effect
C:\Documents and Settings\Carlos\Meus documentos\Downloads\gta server0.3a\gamemodes\netadopt1.pwn(48 : error 001: expected token: ";", but found "]"
C:\Documents and Settings\Carlos\Meus documentos\Downloads\gta server0.3a\gamemodes\netadopt1.pwn(48 : error 029: invalid expression, assumed zero
C:\Documents and Settings\Carlos\Meus documentos\Downloads\gta server0.3a\gamemodes\netadopt1.pwn(48 : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


5 Errors.
Substitua SetPlayerScore(i,GetPlayerMoney[i]); por SetPlayerScore(i,GetPlayerMoney(i));
onde tiver MAX_UPDATES substitua por MAX_PLAYERS.
Speli, nгo estб errado o que vocк fez, mas se ele fizer com MAX_PLAYERS, vai estar usando uma array de 500 slots, iram sobrar muitos nгo й?

Aconselho a fazer assim:

pawn Code:
#define SLOTS 200

public OnGameModeInit()
{
  SetTimer("ScoreUpdate",4000,1);
  return 1;
}

forward ScoreUpdate();
public ScoreUpdate()
{
  for(new i = 0; i < SLOTS; i++)
  {
    SetPlayerScore(i,GetPlayerMoney[i]);
  }
  return 1;
}
._.
sim claro, й melhor definindo o valor, a nгo ser que no servidor dele possa entrar mais de 200 players .-. ...acho dificil, mas й melhor do seu jeito.. ;**
Reply


Messages In This Thread
[DUV]Money - by netado - 08.01.2010, 14:07
Re: [DUV]Money - by [O_o]Davidovich - 08.01.2010, 17:02
Re: [DUV]Money - by netado - 08.01.2010, 17:03
Re: [DUV]Money - by speliarmos - 08.01.2010, 20:23
Re: [DUV]Money - by Sucre Pleasure - 08.01.2010, 20:26
Re: [DUV]Money - by speliarmos - 08.01.2010, 20:30
Re: [DUV]Money - by Sucre Pleasure - 08.01.2010, 20:31
Re: [DUV]Money - by [O_o]Davidovich - 08.01.2010, 21:03

Forum Jump:


Users browsing this thread: 1 Guest(s)