arci224 11 Odesláno: 27. Únor, 2015 Share Odesláno: 27. Únor, 2015 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 More sharing options...
0 LosO 5 Odesláno: 27. Únor, 2015 Share Odesláno: 27. Únor, 2015 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 More sharing options...
0 pinka123 1 Odesláno: 27. Únor, 2015 Share Odesláno: 27. Únor, 2015 musíš mať forward time(playerid); public time(playerid) Link to comment Share on other sites More sharing options...
0 arci224 11 Odesláno: 27. Únor, 2015 Author Share Odesláno: 27. Únor, 2015 Děkuji oboum za radu, ale pro jistotu využiji pinkovu i když i ta druhá funguje děkuji. Link to comment Share on other sites More sharing options...
Dotaz
arci224 11
Link to comment
Share on other sites
3 odpovědí na tuto otázku
Recommended Posts