[Pomoc] Hitno..

Započeo Shone, Jul 24, 2011, 14:25:55 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Shone

Skripta koju koristim:GTA RP
Detaljan opis problema:Da li mi mozete bjasniti kako da napravim da kada igrac naprimjer stisne na igraca da mu se pojavi dijalog i da pise:
Ime:

Spol:

Drzava:

Odigranih Sati:

Broj:(da pokaze onima koji imaju imenik, oni koji nemaju da im pise Nemate imenik!)
Dio skripte://
Neke slike/video za lakse dobivanje pomoci(neobavezno)://

Unapred Zahvalan!

public OnPlayerClickPlayer

i spremis variajblu u PVarove i onda onako kako koristis u modu zza statse, mozda imas ShowStats a mozda ne
Kod (System32) [Izaberi]
SetPVarInt(playerid,"ClickedPlayer",clickedplayerid);
i sad onda koristis kod recimo za pare PlayerInfo[clickedplayerid][pMoney] to je primjer, evo kako je kod mene u iStuntu
Kod (System32) [Izaberi]
public OnPlayerClickPlayer(playerid,clickedplayerid,source)
{
  SetPVarInt(playerid,"ClickedPlayer",clickedplayerid);
  {
new coordsstring[158], name[50];
    format(name, sizeof(name), "{00C0FF} Profil igača {FFFFFF}%s", GetName(clickedplayerid));
format(coordsstring, sizeof(coordsstring), "{00C0FF}Bodovi: {FFFFFF}%i\n{00C0FF}Ubojstva: {FFFFFF}%i\n{00C0FF}Smrti: {FFFFFF}%i\n{00C0FF}Admin Level: {FFFFFF}%i\n{00C0FF}VIP Level: {FFFFFF}%i", PlayerInfo[clickedplayerid][pScore], PlayerInfo[clickedplayerid][pKills], PlayerInfo[clickedplayerid][pDeaths], PlayerInfo[clickedplayerid][pAdmin], PlayerInfo[clickedplayerid][pVIP]);
ShowPlayerDialog(playerid, 9, DIALOG_STYLE_MSGBOX, name, coordsstring, "Ok", "");
}
    if(IsPlayerAdmin(playerid) || PlayerInfo[playerid][pAdmin] >= 1)
    {
    new coordsstring[256], name[50];
    format(name, sizeof(name), "{00C0FF} Profil igača {FFFFFF}%s", GetName(clickedplayerid));
format(coordsstring, sizeof(coordsstring), "{00C0FF}Novac: {FFFFFF}%i\n{00C0FF}Bodovi: {FFFFFF}%i\n{00C0FF}Ubojstva: {FFFFFF}%i\n{00C0FF}Smrti: {FFFFFF}%i\n{00C0FF}Online Sati: {FFFFFF}%i\n{00C0FF}Admin Level: {FFFFFF}%i\n{00C0FF}VIP Level: {FFFFFF}%i", PlayerInfo[playerid][pMoney], PlayerInfo[playerid][pScore], PlayerInfo[playerid][pKills], PlayerInfo[playerid][pDeaths], PlayerInfo[playerid][pOnline], PlayerInfo[playerid][pAdmin], PlayerInfo[playerid][pVIP]);
ShowPlayerDialog(playerid, 9, DIALOG_STYLE_MSGBOX, name, coordsstring, "Ok", "");
}
  return 1;
}
Uskoro novi stunt server iStunt. DoÄ'ite i zabavite se!




   
   




Dizajniram za $$$
Popis stvari koje radim:

Wallpaper √  Signature ×  Logo √  Dizajn stranice (Ne kodiranje) √  Baner √  Avatar √  Animacija √  Intro √

Shone

C:\Documents and Settings\XP\Desktop\GTARO\pawno\include\streamer.inc(435) : warning 202: number of arguments does not match definition
C:\Documents and Settings\XP\Desktop\GTARO\pawno\include\streamer.inc(449) : warning 202: number of arguments does not match definition
C:\Documents and Settings\XP\Desktop\GTARO\gamemodes\gtarp.pwn(773) : error 017: undefined symbol "SetPVarInt"
C:\Documents and Settings\XP\Desktop\GTARO\gamemodes\gtarp.pwn(776) : error 017: undefined symbol "GetName"
C:\Documents and Settings\XP\Desktop\GTARO\gamemodes\gtarp.pwn(777) : error 017: undefined symbol "PlayerInfo"
C:\Documents and Settings\XP\Desktop\GTARO\gamemodes\gtarp.pwn(780) : error 017: undefined symbol "PlayerInfo"
C:\Documents and Settings\XP\Desktop\GTARO\gamemodes\gtarp.pwn(783) : error 017: undefined symbol "GetName"
C:\Documents and Settings\XP\Desktop\GTARO\gamemodes\gtarp.pwn(784) : error 017: undefined symbol "PlayerInfo"
Pawn compiler 3.2.3664           Copyright (c) 1997-2006, ITB CompuPhase


6 Errors.

eto necu ti ni pomoci jer si samo kopirao moj kod, potrudi se, ja samo ovaj gore sam napravio, nitko mi nije pomagao, kljuci logiku, mrzim kad samo c/p
Uskoro novi stunt server iStunt. DoÄ'ite i zabavite se!




   
   




Dizajniram za $$$
Popis stvari koje radim:

Wallpaper √  Signature ×  Logo √  Dizajn stranice (Ne kodiranje) √  Baner √  Avatar √  Animacija √  Intro √

Shone

Molim te pomozi mi ne razumem se u to...

Procitaj pravila u vezi naslova, katanac, takodje system procitaj pravila.