>> [!HELP!] Wierd Errors! <<
#1

how to fix these errors: ?



Код:
error 029: invalid expression, assumed zero
error 004: function "OnPlayerCommandText" is not implemented
warning 219: local variable "string" shadows a variable at a preceding level
error 017: undefined symbol "cmdtext"
error 017: undefined symbol "cmdtext"
error 029: invalid expression, assumed zero
warning 215: expression has no effect
error 001: expected token: ";", but found "]"
fatal error 107: too many error messages on one line
errors are in these lines:

Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
	new giveplayername[MAX_PLAYER_NAME]; //line 2739
	new string[256];
    new idx;
	new cmd[256];
	new tmp[256];
	cmd = strtok(cmdtext, idx);
	new sds[128];
	new playermoney;
	new sendername[MAX_PLAYER_NAME];
	new giveplayer[MAX_PLAYER_NAME];
	new giveplayerid; //moneys2, idx2;
	new moneys;
	new Message[256];
	new gMessage[256];
	new pName[MAX_PLAYER_NAME+1];
	new iName[MAX_PLAYER_NAME+1];
    dcmd(prob, 4, cmdtext); //line 2757
Reply


Messages In This Thread
>> [!HELP!] Wierd Errors! << - by cigo - 03.11.2009, 16:02
Re: >> [!HELP!] Wierd Errors! << - by gemadon - 03.11.2009, 16:06
Re: >> [!HELP!] Wierd Errors! << - by dice7 - 03.11.2009, 16:07
Re: >> [!HELP!] Wierd Errors! << - by cigo - 03.11.2009, 16:09
Re: >> [!HELP!] Wierd Errors! << - by MadeMan - 03.11.2009, 16:11
Re: >> [!HELP!] Wierd Errors! << - by cigo - 03.11.2009, 16:17
Re: >> [!HELP!] Wierd Errors! << - by dice7 - 03.11.2009, 17:38
Re: >> [!HELP!] Wierd Errors! << - by Klutty - 03.11.2009, 18:58

Forum Jump:


Users browsing this thread: 6 Guest(s)