Race mode help!
#7

Quote:
Originally Posted by SpikY_
Посмотреть сообщение
look i made something like this....
PHP код:
                //==========================================================
                
for(new 0MAX_PLAYERSi++)
                {
                if(
place(i) == 1//764 line
                
{
                new 
str[128];
                
format(strsizeof(str), "You finished at position 1");
                
SendClientMessage(playerid, -1str);
                
AccInfo[playerid][R1st]++;
                else if(
place(i) == 2)
                {
                
format(strsizeof(str), "You finished at position 2");
                
SendClientMessage(playerid, -1str);
                
AccInfo[playerid][2nd]++;
                else if(
place(i) == 3)
                {
                
format(strsizeof(str), "You finished at position 3");
                
SendClientMessage(playerid, -1str);
                
AccInfo[playerid][3rd]++;
                }
               }
             } 
Код:
(764) : error 012: invalid function call, not a valid address
(764) : warning 215: expression has no effect
(764) : error 001: expected token: ";", but found ")"
(764) : error 029: invalid expression, assumed zero
(764) : fatal error 107: too many error messages on one line

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


4 Errors.
you made : new place; or new place[MAX_PLAYERS]; ?
Reply


Messages In This Thread
Race mode help! - by SpikY_ - 26.09.2015, 09:32
Re: Race mode help! - by Sellize - 26.09.2015, 10:58
Re: Race mode help! - by SpikY_ - 26.09.2015, 13:26
Re: Race mode help! - by SpikY_ - 27.09.2015, 11:04
Re: Race mode help! - by jlalt - 27.09.2015, 11:31
Re: Race mode help! - by SpikY_ - 29.09.2015, 16:03
Re: Race mode help! - by jlalt - 29.09.2015, 16:19
Re: Race mode help! - by SpikY_ - 29.09.2015, 16:24
Re: Race mode help! - by jlalt - 29.09.2015, 16:25
Re: Race mode help! - by SpikY_ - 29.09.2015, 16:28

Forum Jump:


Users browsing this thread: 1 Guest(s)