Three errors
#1

Hello there everyone, Today I tried to script /weapontraining but I got a few errors all the time somewhy..

Error lines;
pawn Код:
C:\Documents and Settings\Lindvall\Skrivbord\Raven's Roleplay 0.3c V4.2\gamemodes\larp.pwn(59291) : error 001: expected token: ")", but found "{"
C:\Documents and Settings\Lindvall\Skrivbord\Raven'
s Roleplay 0.3c V4.2\gamemodes\larp.pwn(59292) : error 027: invalid character constant
C:\Documents and Settings\Lindvall\Skrivbord\Raven's Roleplay 0.3c V4.2\gamemodes\larp.pwn(59292) : error 027: invalid character constant
Pawn compiler 3.2.3664          Copyright © 1997-2006, ITB CompuPhase


3 Errors.
The scripting code is;
pawn Код:
if(strcmp(cmd, "/weapontraining", true) == 0)
    {
        if(IsPlayerInRangeOfPoint(playerid,5,300.5705,-134.0464,1004.0625)
        {
            ShowPlayerDialog(playerid, 6666,DIALOG_STYLE_MSGBOX, "Which firearm would you like to train?\n Colt45\Pumpshotgun", "Choose","Cancel");
        }
        return 1;
    }
Reply


Messages In This Thread
Three errors - by HighPitchedVoice - 01.05.2012, 08:25
Re: Three errors - by Dan. - 01.05.2012, 08:27
Re: Three errors - by Mark™ - 01.05.2012, 08:28
Re: Three errors - by HighPitchedVoice - 01.05.2012, 08:33
Re: Three errors - by Mark™ - 01.05.2012, 08:34
Re: Three errors - by HighPitchedVoice - 01.05.2012, 08:36
AW: Three errors - by calin1996 - 01.05.2012, 08:37
Re: Three errors - by Mark™ - 01.05.2012, 08:38
Re: Three errors - by HighPitchedVoice - 01.05.2012, 08:41
Re: Three errors - by Mark™ - 01.05.2012, 08:43

Forum Jump:


Users browsing this thread: 4 Guest(s)