Errors while compiling
#9

Quote:
Originally Posted by DarkElement
Посмотреть сообщение
It still gave me the same error..
My bad, try:
Код:
CMD:go(playerid)
{
    if(PlayerInfo[playerid][pAdminLevel] >= 1) ShowPlayerDialog(playerid, DIALOG_GO, DIALOG_STYLE_LIST, "SERVER: Teleport Locations", "House Interiors\nRace Tracks\nCity Locations\nPopular Locations\nGym Interiors\nOther", "Select", "Cancel");
    else SendClientMessage(playerid, COLOR_WHITE, "Only admins are allowed to use this command!");
    return 1;
}
I changed => to >=, you could either do that or do > 0 like the post above.
Reply


Messages In This Thread
Errors while compiling - by DarkElement - 05.08.2016, 12:31
Re: Errors while compiling - by Dejan12345 - 05.08.2016, 12:34
Re: Errors while compiling - by CodyHawkins - 05.08.2016, 12:40
Re: Errors while compiling - by DarkElement - 05.08.2016, 12:45
Re: Errors while compiling - by Dejan12345 - 05.08.2016, 12:46
Re: Errors while compiling - by SyS - 05.08.2016, 12:48
Re: Errors while compiling - by Quinncell - 05.08.2016, 12:48
Re: Errors while compiling - by F1N4L - 05.08.2016, 12:49
Re: Errors while compiling - by CodyHawkins - 05.08.2016, 12:49
Re: Errors while compiling - by Luicy. - 05.08.2016, 13:42

Forum Jump:


Users browsing this thread: 2 Guest(s)