17.06.2012, 16:34
I got problem with OnPlayerClickPlayer.
My code:
Problem : I click player and see : "...Wizyt: %d\nWysl"
My code:
Код:
public OnPlayerClickPlayer(playerid,clickedplayerid,source) { new String[500]; format(String,200,"Data Rejestracji: %s Zalogowany: %d\nPieniądze: %d Respekt: %d\nPoziom: %d Respekt Do Następnego Poziomu: %d\nSamobуjstw: %d Zgonуw: %d\nZabуjstw: %d Wizyt: %d\nWysłanych Wiadomości: %d Wysłanych Komend: %d\nHead Administrator: %d Administrator: %d\nModerator: %d Vip: %d", Player[clickedplayerid][PlayerDateOfRegister],Player[clickedplayerid][PlayerLoggedIn],Player[clickedplayerid][PlayerMoney],Player[clickedplayerid][PlayerRespect],Player[clickedplayerid][PlayerLevel], Player[clickedplayerid][PlayerRespectToNextLevel],Player[clickedplayerid][PlayerSuicide],Player[clickedplayerid][PlayerDeaths],Player[clickedplayerid][PlayerKills],Player[clickedplayerid][PlayerVisits], Player[clickedplayerid][PlayerSendMessages],Player[clickedplayerid][PlayerSendCommands],Player[clickedplayerid][PlayerHeadAdministrator],Player[clickedplayerid][PlayerAdministrator],Player[clickedplayerid][PlayerJuniorAdministrator], Player[clickedplayerid][PlayerModerator],Player[clickedplayerid][PlayerVip]); ShowPlayerDialog(playerid,DIALOG_PLAYER,DIALOG_STYLE_MSGBOX,"Statystyki Gracza",String,"Ok","Zamknij"); return 1; }