SA-MP Forums Archive
Error, Help me! - 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: Error, Help me! (/showthread.php?tid=347163)



Error, Help me! - Jermi - 31.05.2012

Refund command error Look:

Quote:

L:\Gta San Andreas\BLRP\gamemodes\NGRP.pwn(29533) : error 017: undefined symbol "refund"
L:\Gta San Andreas\BLRP\gamemodes\NGRP.pwn(29533) : warning 215: expression has no effect
L:\Gta San Andreas\BLRP\gamemodes\NGRP.pwn(29533) : error 001: expected token: ";", but found "]"
L:\Gta San Andreas\BLRP\gamemodes\NGRP.pwn(29533) : error 029: invalid expression, assumed zero
L:\Gta San Andreas\BLRP\gamemodes\NGRP.pwn(29533) : fatal error 107: too many error messages on one line

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


4 Errors.

the line:

Quote:

RefundID[playerid] = giveplayerid;

help fast


Re: Error, Help me! - badnum23 - 31.05.2012

Show 29532 line


Re: Error, Help me! - Jermi - 31.05.2012

if(giveplayerid != INVALID_PLAYER_ID){

here


Re: Error, Help me! - mati233 - 31.05.2012

Show your RefundID variable declaration please


Re: Error, Help me! - badnum23 - 31.05.2012

As you can see here is
Quote:

error 017: undefined symbol "refund"

But in the 29533 line doesn't exist "refund" variable, only "RefundID".
You should find where "refund" is using.


Re: Error, Help me! - Jermi - 31.05.2012

what is that Variable Declaration ?


Re: Error, Help me! - ViniBorn - 31.05.2012

Something like this

pawn Код:
new refund;



Re: Error, Help me! - TzAkS. - 31.05.2012

Quote:
Originally Posted by Viniborn
Посмотреть сообщение
Something like this

pawn Код:
new refund;
Acualy is new RefundID[MAX_PLAYERS];


Re: Error, Help me! - Jermi - 31.05.2012

@TzAks it is not working, i need a good soluation :d