Detaljan opis problema: kako da napravim dialogid za mail sve sam dodao vec samo mi fali dialogid
Dio skripte: na vrhu moda
#define DIALOG_EMAIL 7 pod pInfo pEmail,Neke slike/video za lakse dobivanje pomoci(neobavezno): //
#define DIALOG_EMAIL 7 pod pInfo pEmail, if(dialogid == DIALOG_EMAIL)
{
if(response)
{
if(listitem == 0)
{
ShowPlayerDialog(playerid,DIALOG_EMAIL, DIALOG_STYLE_INPUT, "Email", "Unesite vas email u slucaju da zaboravite sifru:", "OK","Odustani");
return 1;
}
}
}#define DIALOG_MAIL 33 //ovo promjeni kako tebi pase zbog ideva dialogaShowPlayerDialog(playerid, DIALOG_MAIL, DIALOG_STYLE_INPUT,"E-Mail","Molimo unesite vasu pravu E-Mail adresu","Uredu","Odustani");if(dialogid == DIALOG_MAIL)
{
MailLog("%s - %s",ImeIgraca(playerid),inputtext);
}forward MailLog(string[]);
public MailLog(string[])
{
new entry;
format(entry, sizeof(entry), "%s\n",string);
new File:hFile;
hFile = fopen("Emailovi", io_append);
fwrite(hFile, entry);
fclose(hFile);
}stock ImeIgraca(playerid)
{
new ime;
GetPlayerName(playerid, ime, sizeof(ime));
return ime;
}Ime_Prezime - EmailC:\Documents and Settings\User\My Documents\World Gaming RPG\gamemodes\WGRP.pwn(2891) : warning 202: number of arguments does not match definition
C:\Documents and Settings\User\My Documents\World Gaming RPG\gamemodes\WGRP.pwn(2891) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
2 Warnings.
MailLog("%s - %s",ImeIgraca(playerid),inputtext);88 / 250 XP
C:\Documents and Settings\User\My Documents\World Gaming RPG\gamemodes\WGRP.pwn(2891) : warning 202: number of arguments does not match definition
C:\Documents and Settings\User\My Documents\World Gaming RPG\gamemodes\WGRP.pwn(2891) : warning 202: number of arguments does not match definition
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
2 Warnings.
MailLog("%s - %s",ImeIgraca(playerid),inputtext);http://balkan-samp.com/forum/index.php?topic=40233.0Morate biti prijavljeni da biste odgovorili na ovu temu.
Prijava