20.06.2010, 04:13
FIXED
PlayerInfo[i][pJob]
Originally Posted by Picharelo
Код:
else if(GetPlayerState(i) == 1 && PlayerToPoint(2.0, i,97.9245,-160.4469,2.5868)) { if(PlayerInfo[i][pJob] > 0) { // Nothing } else { GameTextForPlayer(i, "~w~Register ~n~ ~g~Mehaanik ~n~ ~y~/v6tat88", 5000, 3); } } |
enum pInfo { pKey[128], ...... pCash, ..... pKills, pDeaths, .... pJob, .... }; new PlayerInfo[MAX_PLAYERS][pInfo];
if(PlayerInfo[i][pJob] > 0)
Originally Posted by Picharelo
Theres no variable values?
Код:
enum pInfo { pKey[128], ...... pCash, ..... pKills, pDeaths, .... pJob, .... }; new PlayerInfo[MAX_PLAYERS][pInfo]; |
Originally Posted by Picharelo
If job is 0, then gametext shows
If job isnt 0, then gametext doenst shows. |