Jump to content
  • 0

pomoc Time


arci224

Dotaz

Dobrý den mam problém -
forward time();
public time()
{
	PlayerInfo[playerid][sekunda]++;
	if(PlayerInfo[playerid][sekunda]==60)
	{
		PlayerInfo[playerid][minuta]++;
	}
	if(PlayerInfo[playerid][minuta]==60)
	{
		PlayerInfo[playerid][hodina]++;
	}
	return 1;
}
C:\Users\ASUS\Desktop\Honza Cool Videa a slozky\servery\gta2\gamemodes\povolani.pwn(387) : error 017: undefined symbol "playerid"
C:\Users\ASUS\Desktop\Honza Cool Videa a slozky\servery\gta2\gamemodes\povolani.pwn(388) : error 017: undefined symbol "playerid"
C:\Users\ASUS\Desktop\Honza Cool Videa a slozky\servery\gta2\gamemodes\povolani.pwn(390) : error 017: undefined symbol "playerid"
C:\Users\ASUS\Desktop\Honza Cool Videa a slozky\servery\gta2\gamemodes\povolani.pwn(392) : error 017: undefined symbol "playerid"
C:\Users\ASUS\Desktop\Honza Cool Videa a slozky\servery\gta2\gamemodes\povolani.pwn(394) : error 017: undefined symbol "playerid"
Pawn compiler 3.2.3664	 	 	Copyright (c) 1997-2006, ITB CompuPhase


5 Errors.

 

Link to comment
Share on other sites

3 odpovědí na tuto otázku

Recommended Posts

  • 0

forward time();
public time()
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(IsPlayerConnected(i))
{
PlayerInfo[i][sekunda]++;
if(PlayerInfo[i][sekunda]==60)
{
PlayerInfo[i][minuta]++;
}
if(PlayerInfo[i][minuta]==60)
{
PlayerInfo[i][hodina]++;
}
}
}
return 1;
}
Link to comment
Share on other sites

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