Skripta koju koristim: 0
Problem: Napravio sam tutorial sa TD-ovima pomocu ovoga (http://balkan-samp.com/forum/index.php?topic=56251.0)
Sve sam lijepo uradio, otisao sam compile, nije mi izbacilo niti jedan error. Ali kada udjem sa novim accountom i registrujem se nista mi ne izbaci, samo me spawna na moje mjesto. Ne znam u cemu je problem molio bih za pomoc.
Deo Skripte://
[Pomoc] Ne prikazuje TUT
1,545
pregleda
41
postova
18. Maj 2013.
|_sLaY_| ^_- wrote on May 18, 2013, 10:03 am:
Refresh...
Help me.
Help me.
jesi dodao
tutorial = 1;pod ondialogresponse u onaj dialog za register
znaci npr.
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
switch(dialogid)
{
case DIALOG_REGISTER:
{
if(!response) return Kick(playerid);
if(response)
{
if(!strlen(inputtext)) return ShowPlayerDialog(playerid, DIALOG_REGISTER, DIALOG_STYLE_PASSWORD, "Potvrda","BABABA","Potvrda","Odustani");
new INI:File = INI_Open(UserPath(playerid));
INI_SetTag(File,"data");
//TVOJA UCITAVANJA
INI_Close(File);
SetPlayerScore(playerid,1);
tutorial = 1;
}
}
return 1;
}18. Maj 2013.
Quote from May 18, 2013, 10:03 am:
Refresh...
Help me.
Help me.
jesi dodao
tutorial = 1;pod ondialogresponse u onaj dialog za register
znaci npr.
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
switch(dialogid)
{
case DIALOG_REGISTER:
{
if(!response) return Kick(playerid);
if(response)
{
if(!strlen(inputtext)) return ShowPlayerDialog(playerid, DIALOG_REGISTER, DIALOG_STYLE_PASSWORD, "Potvrda","BABABA","Potvrda","Odustani");
new INI:File = INI_Open(UserPath(playerid));
INI_SetTag(File,"data");
//TVOJA UCITAVANJA
INI_Close(File);
SetPlayerScore(playerid,1);
tutorial = 1;
}
}
return 1;
}Nisam sad cu probati.
Edit: Nista se ne desava, opet isto.
Morate biti prijavljeni da biste odgovorili na ovu temu.
Prijava