[HELP] /buyweapon command
#1

i can't compile my new script because of this

CMD:buyweapon(playerid, params[])
{
if(IsPlayerInRangeOfPoint(playerid, 40, 286.148986,-40.644397,1001.515625) || IsPlayerInRangeOfPoint(playerid, 40, 286.800994,-82.547599,1001.515625) || IsPlayerInRangeOfPoint(playerid, 40, 296.919982,-108.071998,1001.515625) || IsPlayerInRangeOfPoint(playerid, 40, 314.820983,-141.431991,999.601562) || IsPlayerInRangeOfPoint(playerid, 40, 316.524993,-167.706985,999.593750))
ShowPlayerDialog(playerid, DIALOGWEAPONS, DIALOG_STYLE_LIST, "Hello, what guns can I get you?", "Deagle-2500\nShotgun-500\nMP5-700\nAK-47(5000)","Buy","Cancel");
return 1;
}





[ERRORS]

C:\Documents and Settings\PC1\Desktop\[American Roleplay][v.1.0]\pawno\gunshop.pwn(14) : error 029: invalid expression, assumed zero
C:\Documents and Settings\PC1\Desktop\[American Roleplay][v.1.0]\pawno\gunshop.pwn(14) : error 017: undefined symbol "cmd_buyweapon"
C:\Documents and Settings\PC1\Desktop\[American Roleplay][v.1.0]\pawno\gunshop.pwn(14) : error 029: invalid expression, assumed zero
C:\Documents and Settings\PC1\Desktop\[American Roleplay][v.1.0]\pawno\gunshop.pwn(14) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


4 Errors.



+REP for help
Reply


Messages In This Thread
[HELP] /buyweapon command - by Cjay123 - 12.01.2014, 04:46
Re: [HELP] /buyweapon command - by amirab - 12.01.2014, 05:17
Re: [HELP] /buyweapon command - by nmader - 12.01.2014, 05:38
Re: [HELP] /buyweapon command - by Sojo12 - 12.01.2014, 05:43
Re: [HELP] /buyweapon command - by Cjay123 - 13.01.2014, 10:38
Re: [HELP] /buyweapon command - by DaniceMcHarley - 13.01.2014, 10:42
Re: [HELP] /buyweapon command - by SilentSoul - 13.01.2014, 10:45

Forum Jump:


Users browsing this thread: 1 Guest(s)