Detaljan opis problema:Krenuo sam da pravio Intro ali problem mi je sto mi se ne zele prikazati TD i kako da namjestim da mi poslje Intra dolazi DIALOG za register
Dio skripte:
forward ShowIntro(playerid);
public ShowIntro(playerid)
{
if(!fexist(UserPath(playerid)))
{
SetPVarInt(playerid, "Intro", GetPVarInt(playerid, "Intro") + 1);
new iteration = GetPVarInt(playerid, "Intro");
switch(iteration)
{
case 1:
{
for(new i; i < 11; i++) SendClientMessage(playerid, 0, "");
}
case 2:
{
TextDrawShowForPlayer(playerid, Intro);
TextDrawShowForPlayer(playerid, Intro);
}
}
for(new i; i < sizeof(Intro); i++) TextDrawHideForPlayer(playerid, Intro);
TogglePlayerSpectating(playerid, false);
ShowDialog(playerid, 1, DIALOG_PASS, "Hi there, Welcome to Bone County!", "Hello new citizen!\n\nWelcome to Bone County, where crime doesn't pay.\nPlease register your citizenship!", "Register", "Exit");
}
else
{
INI_ParseFile(UserPath(playerid), "LoadUser_%s", .bExtra = true, .extra = playerid);
ShowDialog(playerid, 2, DIALOG_PASS, "Welcome back to Bone County!", "That username is registered,\nInput your password to login and continue!", "Login", "Exit");
}
return 1;
}Neke slike/video za lakse dobivanje pomoci(neobavezno):
