C:\Documents and Settings\john\Desktop\RCTDM\gamemodes\RCTDM.pwn(483) : error 001: expected token: ")", but found "[" C:\Documents and Settings\john\Desktop\RCTDM\gamemodes\RCTDM.pwn(483) : warning 215: expression has no effect C:\Documents and Settings\john\Desktop\RCTDM\gamemodes\RCTDM.pwn(483) : error 001: expected token: ";", but found "]" C:\Documents and Settings\john\Desktop\RCTDM\gamemodes\RCTDM.pwn(483) : error 029: invalid expression, assumed zero C:\Documents and Settings\john\Desktop\RCTDM\gamemodes\RCTDM.pwn(483) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors.
public LoadProperty_data(propertyid,name[],value[])
{
INI_String("Owner",PropertyInfo[propertyid][Owner],100);
INI_String("PropertyName",PropertyInfo[propertyid][PropertyName],100);
INI_Int("Price"PropertyInfo[propertyid][Price]);
INI_Float("x"PropertyInfo[propertyid][x]);
INI_Float("y"PropertyInfo[propertyid][y]);
INI_Float("z"PropertyInfo[propertyid][z]);
INI_Int("Payout"PropertyInfo[propertyid][Payout]);
INI_Int("PropertyID"PropertyInfo[propertyid][PropertyID]);
INI_Int("PropertyPickup"PropertyInfo[propertyid][PropertyPickup]);
return 1;
}
INI_String("Owner",PropertyInfo[propertyid][Owner],100);
INI_Int("Price"PropertyInfo[propertyid][Price]);
INI_Int("Price",PropertyInfo[propertyid][Price]);
C:\Documents and Settings\john\Desktop\RCTDM\gamemodes\RCTDM.pwn(483) : error 001: expected token: ")", but found "[" C:\Documents and Settings\john\Desktop\RCTDM\gamemodes\RCTDM.pwn(483) : warning 215: expression has no effect C:\Documents and Settings\john\Desktop\RCTDM\gamemodes\RCTDM.pwn(483) : error 001: expected token: ";", but found "]" C:\Documents and Settings\john\Desktop\RCTDM\gamemodes\RCTDM.pwn(483) : error 029: invalid expression, assumed zero C:\Documents and Settings\john\Desktop\RCTDM\gamemodes\RCTDM.pwn(483) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors.
INI_String("Owner",PropertyInfo[propertyid][PropertyOwner],100);
Logitech.. How would this help? It didn't work and the only thing I see you changed was the Variable.. But my properties variable is Owner, not PropertyOwner..
|
public LoadProperty_data(propertyid,name[],value[]) { INI_String("Owner",PropertyInfo[propertyid][Owner],100); INI_String("PropertyName",PropertyInfo[propertyid][PropertyName],100); INI_Int("Price",PropertyInfo[propertyid][Price]); INI_Float("x",PropertyInfo[propertyid][x]); INI_Float("y",PropertyInfo[propertyid][y]); INI_Float("z",PropertyInfo[propertyid][z]); INI_Int("Payout",PropertyInfo[propertyid][Payout]); INI_Int("PropertyID",PropertyInfo[propertyid][PropertyID]); INI_Int("PropertyPickup",PropertyInfo[propertyid][PropertyPickup]); return 1; }