[HELP]Timer
#1

CODE

PHP код:
//OnGameModeInit
 
SetTimer("scoretimer"1000true); 
PHP код:
//OnPlayerConnect
forward scoretimer(playerid);
public 
scoretimer()
{
    for(new 
i=0i<MAX_PLAYERSi++)
    {
        if(
IsPlayerConnected(i))
        {
        new 
prank[128];
        
format(pranksizeof(prank), "Rank : %s" ,GetRankName(i));
        
PlayerTextDrawShow(playerid ,Textdraw2[i], prank);
        }
    }

Error
Код:
F:\SAMP\gamemodes\MOD.pwn(1686) : error 029: invalid expression, assumed zero
F:\SAMP\gamemodes\MOD.pwn(1686) : error 017: undefined symbol "scoretimer"
F:\SAMP\gamemodes\MOD.pwn(1687) : error 029: invalid expression, assumed zero
F:\SAMP\gamemodes\MOD.pwn(1687) : error 017: undefined symbol "scoretimer"
F:\SAMP\gamemodes\MOD.pwn(1695) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase
Код:

4 Errors.
Reply


Messages In This Thread
[SOLVED]Timer - by jamesmith12 - 28.07.2015, 03:35
Re: [HELP]Timer - by jamesmith12 - 28.07.2015, 03:52
Re: [HELP]Timer - by DarkLored - 28.07.2015, 03:53
Re: [HELP]Timer - by jamesmith12 - 28.07.2015, 04:02

Forum Jump:


Users browsing this thread: 1 Guest(s)