Jump to content

Question

Posted

C:\Users\oanna\Desktop\SF.pwn(1643) : error 012: invalid function call, not a valid address
C:\Users\oanna\Desktop\SF.pwn(1643) : warning 215: expression has no effect
C:\Users\oanna\Desktop\SF.pwn(1643) : warning 215: expression has no effect
C:\Users\oanna\Desktop\SF.pwn(1643) : error 001: expected token: ";", but found ")"
C:\Users\oanna\Desktop\SF.pwn(1643) : error 029: invalid expression, assumed zero
C:\Users\oanna\Desktop\SF.pwn(1643) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright (c) 1997-2006, ITB CompuPhase


4 Errors.
cmd = strtok(cmdtext, idx);

Ce sai fac? ???

GOO PE 89.42.200.9:7777

sau pe http://sa-mp-onlypro.forumulmeu.ro/forum.htm

6 answers to this question

Recommended Posts

Posted
public OnPlayerCommandText(playerid, cmdtext[])
{
	new string[256];
	new playermoney;
	new sendername[MAX_PLAYER_NAME];
	new giveplayer[MAX_PLAYER_NAME];
	new cmd[256];
	new gMessage[256];
	new giveplayerid, moneys, idx;
	new file[128], tmp[256], tmp2[256];

    cmd = strtok( cmdtext, idx );
	if (IsInJail[playerid] == 1) {
	SendClientMessage(playerid, COLOR_ORED,"Error: You can't use commands in the jail!");
	return 1;
	}
ini da eroarea asta
C:\Users\oanna\Desktop\Folder nou\SF.pwn(1643) : error 012: invalid function call, not a valid address
C:\Users\oanna\Desktop\Folder nou\SF.pwn(1643) : warning 215: expression has no effect
C:\Users\oanna\Desktop\Folder nou\SF.pwn(1643) : warning 215: expression has no effect
C:\Users\oanna\Desktop\Folder nou\SF.pwn(1643) : error 001: expected token: ";", but found ")"
C:\Users\oanna\Desktop\Folder nou\SF.pwn(1643) : error 029: invalid expression, assumed zero
C:\Users\oanna\Desktop\Folder nou\SF.pwn(1643) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright (c) 1997-2006, ITB CompuPhase


4 Errors.

GOO PE 89.42.200.9:7777

sau pe http://sa-mp-onlypro.forumulmeu.ro/forum.htm

Posted

Incearca asa mie imi da decat undefine symbol ...

public OnPlayerCommandText(playerid, cmdtext[])
{
	new string[256];
	new playermoney;
	new sendername[MAX_PLAYER_NAME];
	new giveplayer[MAX_PLAYER_NAME];
	new cmd[256];
	new gMessage[256];
	new giveplayerid, moneys, idx;
	new file[128], tmp[256], tmp2[256];

    cmd = strtok( cmdtext, idx );
    if (IsInJail[playerid] == 1)
	{
	SendClientMessage(playerid, COLOR_ORED,"Error: You can't use commands in the jail!");
	return 1;
	}

Samp.OnlyPro.ro - RolePlay - Join Us !

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.