if(response)
{
switch(dialogid)
{
case DIALOG_Tutorial:
{
if(response)
{
SendClientMessage(playerid, 0xFFFFFF, "The tutorial will continue.");
}
else
{
Kick(playerid);
}
return 1;
}
}
}
switch(dialogid)
{
case DIALOG_Tutorial:
{
if(!response) return Kick(playerid);
else return SendClientMessage(playerid, 0xFFFFFFFF, "The tutorial will continue.");
}
}
Also, the color in the SCM isn't valid at all.
It should look like 0xFFFFFFFF. The green symbol stands for the HTML colour code. The red symbol stands for the Alpha value. FF means normal colour message. 00 means invisible message. |
if(response)
{
switch(dialogid)
{
case DIALOG_Tutorial:
{
if(!response) return Kick(playerid);
else return SendClientMessage(playerid, 0xFFFFFFFF, "The tutorial will continue.");
}
}
return 1;
}
if(response)
{
switch(dialogid)
{
case DIALOG_Tutorial:
{
SendClientMessage(playerid, 0xFFFFFF, "The tutorial will continue.");
}
}
}
else { Kick(playerid); }
switch(dialogid)
{
case DIALOG_Tutorial:
{
if(response)
{
SendClientMessage(playerid, 0xFFFFFFFF, "The tutorial will continue.");
}
else if(!response)
{
Kick(playerid);
}
}
return 1;
}
I know, but I mean just putting the 6 digits of the html colour number is valid ?
HexaDecimal basics are 8 digits, no ? |