Error SAMP wtf i am so ANGRY -
denniser8 - 30.09.2013
Here is it
Код:
C:\Users\Dennis Laptop\Desktop\Server\filterscripts\PosSaver.pwn(331) : warning 217: loose indentation
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Warning.
and here script
if(strcmp(cmd,"/poshelp",true) == 0)
{
if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid,COLOR_RED,"You must be a rcon admin to use that command!");
(error) ShowPlayerDialog(playerid, MAIN_DIALOG, DIALOG_STYLE_LIST, DIALOG_CAPTION,
MAIN_DIALOG_LIST, "Continue", "Cancel"); // this goes up
}
return 1;
}
Re: Error SAMP wtf i am so ANGRY -
EiresJason - 30.09.2013
'Loose Indentation' warnings just mean you need to indent your code using TAB or SHIFT+TAB. It's basically keeping your code lined up properly. Also; this warning would have no effect on your code.
pawn Код:
if(strcmp(cmd,"/poshelp",true) == 0)
{
if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid,COLOR_RED,"You must be a rcon admin to use that command!");
ShowPlayerDialog(playerid, MAIN_DIALOG, DIALOG_STYLE_LIST, DIALOG_CAPTION, MAIN_DIALOG_LIST, "Continue", "Cancel"); // this goes up
}
return 1;
}
Re: Error SAMP wtf i am so ANGRY -
ic3cr3am - 30.09.2013
Код:
ShowPlayerDialog(playerid, MAIN_DIALOG, DIALOG_STYLE_LIST, "This\nIs\nThe\nText\nArea.", "Continue", "Cancel");
SAMP:
Quote:
The message you have entered is too short. Please lengthen your message to at least 4 characters.
|
ic3cr3am:
Re: Error SAMP wtf i am so ANGRY -
itsCody - 01.10.2013
Put #pragma tabsize 0 under your includes
Re: Error SAMP wtf i am so ANGRY -
Pottus - 01.10.2013
Quote:
Originally Posted by itsCody
Put #pragma tabsize 0 under your includes
|
No don't do that bad idea.
Re: Error SAMP wtf i am so ANGRY -
ChristianIvann - 01.10.2013
Try to ****** your problem.
Re: Error SAMP wtf i am so ANGRY -
Mattakil - 01.10.2013
It's probably a space out of place.
I wouldn't worry about it too much, it doesnt fuck up your code or nothing
Re: Error SAMP wtf i am so ANGRY -
xganyx - 01.10.2013
Try this
pawn Код:
public OnPlayerCommandText(playerid,cmdtext[])
{
if(strcmp(cmd,"/poshelp",true) == 0)
{
if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid,COLOR_RED,"You must be a rcon admin to use that command!");
ShowPlayerDialog(playerid, MAIN_DIALOG, DIALOG_STYLE_LIST, DIALOG_CAPTION,MAIN_DIALOG_LIST, "Continue", "Cancel"); // this goes up
return 1;
}
return 0;
}