SA-MP Forums Archive
Help with /refund command - 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)
+--- Thread: Help with /refund command (/showthread.php?tid=348186)



Help with /refund command - DwayneB - 04.06.2012

C:\Users\Ziga\Desktop\BLRP\gamemodes\NGRP.pwn(4475 7) : error 017: undefined symbol "RefundingID"
C:\Users\Ziga\Desktop\BLRP\gamemodes\NGRP.pwn(4475 7) : error 001: expected token: ";", but found "]"
C:\Users\Ziga\Desktop\BLRP\gamemodes\NGRP.pwn(4475 7) : error 029: invalid expression, assumed zero
C:\Users\Ziga\Desktop\BLRP\gamemodes\NGRP.pwn(4475 7) : 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 get this 4 errors.So if anyone could respond quickly as he can. I will give you rep if it works.

Thanks and hope someone knows what's the problem and how to fix it.


Re: Help with /refund command - dannyk0ed - 04.06.2012

Should us the code please.


Re: Help with /refund command - Firo - 04.06.2012

Line (4475 7), please.


Re: Help with /refund command - milanosie - 04.06.2012

Use the search function!


Re: Help with /refund command - DwayneB - 04.06.2012

Line 44757 RefundingID [playerid]; = [giveplayerid]


Re: Help with /refund command - iRage - 04.06.2012

Quote:
Originally Posted by Firo
Посмотреть сообщение
Line (4475 7), please.



Re: Help with /refund command - Firo - 04.06.2012

pawn Код:
RefundingID [playerid] = [giveplayerid];



Re: Help with /refund command - Amit_B - 04.06.2012

Quote:
Originally Posted by Firo
Посмотреть сообщение
pawn Код:
RefundingID [playerid] = [giveplayerid];
And this code will just get another errors.

To fix the problem all you need to do is to script with the right syntax, which is not the way you(?) have scripted this line.
Maybe you meant to:
pawn Код:
RefundingID[playerid] = giveplayerid;
?


Re: Help with /refund command - DwayneB - 04.06.2012

Quote:
Originally Posted by Amit_B
Посмотреть сообщение
And this code will just get another errors.

To fix the problem all you need to do is to script with the right syntax, which is not the way you(?) have scripted this line.
Maybe you meant to:
pawn Код:
RefundingID[playerid] = giveplayerid;
?
Still not working i get the same errors.


Re: Help with /refund command - dannyk0ed - 04.06.2012

Show us the whole refund command.