Jump to content
  • 0

problema functie restart timer


Sprite_RoPlayers

Question

Salut am facut si eu comanda /restart pe textdraw doar ca am o problema cu functia check timer dar nu stiu ce are.

C:\Users\SpriteTV\Desktop\RPG ROPLAYERS\gamemodes\rpg.pwn(35628) : error 029: invalid expression, assumed zero
C:\Users\SpriteTV\Desktop\RPG ROPLAYERS\gamemodes\rpg.pwn(35628 -- 35629) : warning 215: expression has no effect
C:\Users\SpriteTV\Desktop\RPG ROPLAYERS\gamemodes\rpg.pwn(35629) : error 001: expected token: ";", but found "if"
C:\Users\SpriteTV\Desktop\RPG ROPLAYERS\gamemodes\rpg.pwn(13761) : warning 204: symbol is assigned a value that is never used: "Timer"
Pawn compiler 3.2.3664	 	 	Copyright (c) 1997-2006, ITB CompuPhase


2 Errors.
[Finished in 19.6s]



forward CheckTimer();
public CheckTimer(){
	if(RestartTime > 0) {
		RestartTime ==;
		if(RestartTime == 5) KickAll();
		if(RestartTime == 0) GameModeExit();
	}
	return 1;
}

 

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.