Help, Please - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Help, Please (
/showthread.php?tid=277906)
Help, Please -
seanny - 19.08.2011
Here is a Problem
Код:
C:\Users\Admin\Desktop\LSCRP\gamemodes\Seans Test.pwn(77) : error 001: expected token: ",", but found "-string-"
C:\Users\Admin\Desktop\LSCRP\gamemodes\Seans Test.pwn(77) : warning 215: expression has no effect
C:\Users\Admin\Desktop\LSCRP\gamemodes\Seans Test.pwn(77) : error 001: expected token: ";", but found ")"
C:\Users\Admin\Desktop\LSCRP\gamemodes\Seans Test.pwn(77) : error 029: invalid expression, assumed zero
C:\Users\Admin\Desktop\LSCRP\gamemodes\Seans Test.pwn(77) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
4 Errors.
I dont understand the problem
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/help", cmdtext, true, 10) == 0)
{
if(IsPlayerConnected(playerid))
{
ShowPlayerDialog(playerid,1,DIALOG_STYLE_LIST "Help" "Account\nGeneral\nChat\nToggle\nBank\nJob\nFaction\nGang\nOther" "Select" "Cancel") //Here is line 77
}
return 1;
}
return 0;
}
Re: Help, Please -
sleepysnowflake - 19.08.2011
pawn Код:
ShowPlayerDialog(playerid,1,DIALOG_STYLE_LIST,"Help","Account\nGeneral\nChat\nToggle\nBank\nJob\nFaction\nGang\nOther", "Select", "Cancel"); //Here is line 77 fixed.
EDIT: Rep, yeah!
Re: Help, Please -
FireCat - 19.08.2011
pawn Код:
ShowPlayerDialog(playerid,1,DIALOG_STYLE_LIST,"Help","Account\nGeneral\nChat\nToggle\nBank\nJob\nFaction\nGang\nOther", "Select", "Cancel"); //Here is line 77
Rep?

EDIT: To late.