error 029: invalid expression, assumed zero |
#1

I have a few problems, and my english is not very good. I apologize if my writing is bad, please help.

Problems:

C:\Users\Oğulcan\Desktop\RolePlay\pawno\include\/nnrpg/Enums.inc(19) : warning 201: redefinition of constant/macro (symbol "MAX_RADIOS")
C:\Users\Oğulcan\Desktop\RolePlay\gamemodes\lsrp.p wn(8937) : error 017: undefined symbol "Actors"
C:\Users\Oğulcan\Desktop\RolePlay\gamemodes\lsrp.p wn(8937) : warning 215: expression has no effect
C:\Users\Oğulcan\Desktop\RolePlay\gamemodes\lsrp.p wn(8937) : error 001: expected token: ";", but found "]"
C:\Users\Oğulcan\Desktop\RolePlay\gamemodes\lsrp.p wn(8937) : error 029: invalid expression, assumed zero
C:\Users\Oğulcan\Desktop\RolePlay\gamemodes\lsrp.p wn(8937) : fatal error 107: too many error messages on one line

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


4 Errors.


-----------------------------------------------------------------------------------------------------------------------------
Line (8937 ):

Код:
CallLocalFunction("AktorEtkilesim", "dds", playerid, actorid, Actors[actorid][actorAd]);
Код:
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
	new str[500];
    if (PRESSED( KEY_WALK ) && GetActorID(playerid) != -1)  {
	    new actorid = GetActorID(playerid);
	    CallLocalFunction("AktorEtkilesim", "dds", playerid, actorid, Actors[actorid][actorAd]);
	return 1;
}
Reply
#2

Array Actors is not declared anywhere...
Also when you get errors, take a look at Warnings And Errors Wiki Page
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)