Errors while compiling
#4

Quote:
Originally Posted by CodyHawkins
Посмотреть сообщение
You need to use control structures properly, please read this:
https://sampwiki.blast.hk/wiki/Control_Structures#if

If you want it for all admin levels, 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;
}
It still gave me the same error..
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)