Problem
#1

I got problem with OnPlayerClickPlayer.
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;
}
Problem : I click player and see : "...Wizyt: %d\nWysl"
Reply
#2

but... what are you trying to do?
i might help you if you give more details like what u want to do
Reply
#3

first thing i see is that the string is first declared as 500 then change to 200 ?
pawn Код:
new String[500];
    format(String,sizeof(String),
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)