Pawno error
#1

Hello,
Im getting this error
pawn Код:
C:\Users\Patrick\Desktop\samp server\McFellow Race server\gamemodes\McFellowRacing.pwn(6902) : error 029: invalid expression, assumed zero
C:\Users\Patrick\Desktop\samp server\McFellow Race server\gamemodes\McFellowRacing.pwn(6902) : warning 215: expression has no effect
C:\Users\Patrick\Desktop\samp server\McFellow Race server\gamemodes\McFellowRacing.pwn(6902) : warning 215: expression has no effect
C:\Users\Patrick\Desktop\samp server\McFellow Race server\gamemodes\McFellowRacing.pwn(6902) : warning 215: expression has no effect
C:\Users\Patrick\Desktop\samp server\McFellow Race server\gamemodes\McFellowRacing.pwn(6902) : warning 215: expression has no effect
C:\Users\Patrick\Desktop\samp server\McFellow Race server\gamemodes\McFellowRacing.pwn(6902) : warning 215: expression has no effect
C:\Users\Patrick\Desktop\samp server\McFellow Race server\gamemodes\McFellowRacing.pwn(6902) : error 001: expected token: ";", but found ")"
C:\Users\Patrick\Desktop\samp server\McFellow Race server\gamemodes\McFellowRacing.pwn(6902) : error 029: invalid expression, assumed zero
C:\Users\Patrick\Desktop\samp server\McFellow Race server\gamemodes\McFellowRacing.pwn(6902) : fatal error 107: too many error messages on one line
And this is what i scripted
pawn Код:
CMD:help(playerid, params[])
{
    return ShowPlayerDialog(playerid, HELPMENU, DIALOG_STYLE_LIST, "What do you wanna know?","General\nChat\nOthers\n","Select","Cancel");
    return 1;
}
Can some one help me out?
Reply
#2

pawn Код:
CMD:help(playerid, params[])
{
    ShowPlayerDialog(playerid, HELPMENU, DIALOG_STYLE_LIST, "What do you wanna know?","General\nChat\nOthers\n","Select","Cancel");
    return 1;
}
Reply
#3

pawn Код:
CMD:help(playerid, params[])
{
    ShowPlayerDialog(playerid, HELPMENU, DIALOG_STYLE_LIST, "What do you wanna know?","General\nChat\nOthers\n","Select","Cancel");
    return 1;
}
Reply
#4

Sorry not working still the same error
Reply
#5

pawn Код:
CMD:help(playerid, params[])
{
    return ShowPlayerDialog(playerid, HELPMENU, DIALOG_STYLE_LIST, "What do you wanna know?","General\nChat\nOthers","Select","Cancel");// You just put the extra \n which was not needed.
    return 1;
}
Reply
#6

Quote:
Originally Posted by nilanjay
Посмотреть сообщение
pawn Код:
CMD:help(playerid, params[])
{
    return ShowPlayerDialog(playerid, HELPMENU, DIALOG_STYLE_LIST, "What do you wanna know?","General\nChat\nOthers","Select","Cancel");// You just put the extra \n which was not needed.
    return 1;
}
Still this error
pawn Код:
C:\Users\Patrick\Desktop\samp server\McFellow Race server\gamemodes\McFellowRacing.pwn(6902) : error 029: invalid expression, assumed zero
C:\Users\Patrick\Desktop\samp server\McFellow Race server\gamemodes\McFellowRacing.pwn(6902) : warning 215: expression has no effect
C:\Users\Patrick\Desktop\samp server\McFellow Race server\gamemodes\McFellowRacing.pwn(6902) : warning 215: expression has no effect
C:\Users\Patrick\Desktop\samp server\McFellow Race server\gamemodes\McFellowRacing.pwn(6902) : warning 215: expression has no effect
C:\Users\Patrick\Desktop\samp server\McFellow Race server\gamemodes\McFellowRacing.pwn(6902) : warning 215: expression has no effect
C:\Users\Patrick\Desktop\samp server\McFellow Race server\gamemodes\McFellowRacing.pwn(6902) : warning 215: expression has no effect
C:\Users\Patrick\Desktop\samp server\McFellow Race server\gamemodes\McFellowRacing.pwn(6902) : error 001: expected token: ";", but found ")"
C:\Users\Patrick\Desktop\samp server\McFellow Race server\gamemodes\McFellowRacing.pwn(6902) : error 029: invalid expression, assumed zero
C:\Users\Patrick\Desktop\samp server\McFellow Race server\gamemodes\McFellowRacing.pwn(6902) : fatal error 107: too many error messages on one line
Reply
#7

you dont need 2 returns!!
remove the "return 1;"
Reply
#8

What's line 6902?
Can you show that line please...
Reply
#9

Quote:
Originally Posted by BlackBank3
Посмотреть сообщение
What's line 6902?
Can you show that line please...
pawn Код:
ShowPlayerDialog(playerid, HELPMENU, DIALOG_STYLE_LIST, "What do you wanna know?","General\nChat\nOthers","Select","Cancel");
Thats on line 6902
Reply
#10

use
pawn Код:
#include <a_samp>
at top of your script !!! then try again
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)