[AJUDA]Error ao Compilar
#1

C:\Documents and Settings\Johnatan Fernandes\Desktop\[DG]Drift-Group\gamemodes\DG.pwn(2465) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Johnatan Fernandes\Desktop\[DG]Drift-Group\gamemodes\DG.pwn(2465) : error 001: expected token: ";", but found ")"
C:\Documents and Settings\Johnatan Fernandes\Desktop\[DG]Drift-Group\gamemodes\DG.pwn(2465) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Johnatan Fernandes\Desktop\[DG]Drift-Group\gamemodes\DG.pwn(2465) : fatal error 107: too many error messages on one line


LINHA 2465: if(Profissao[playerid] == CORRETOR || IsPlayerAdmin(playerid)){

Codigo:
Код:
if(strcmp(cmd, "/casa", true) == 0) {
	    if(Profissao[playerid] == CORRETOR || IsPlayerAdmin(playerid)){
			new tmp[256];
			tmp = strtok(cmdtext, idx);
		    if(!strlen(tmp)) {
				SendClientMessage(playerid, COLOR_RED, "/casa [nick]");
	    		return 1;
			}
    		if (udb_Exists(tmp)) {
		        new Float:X, Float:Y, Float:Z;
				GetPlayerPos(playerid, X, Y, Z);
				udb_setPosition(tmp, X, Y, Z);
			    udb_setAng(tmp, 0);
			    SendClientMessage(playerid, COLOR_GREEN, "Casa salva");
			    printf("%s acaba de setar uma casa para %s",PlayerName(playerid),tmp);
    	        return 1;
    	    }
		}
		else{
		    SendClientMessage(playerid, COLOR_RED, "Vocк nгo tem permissгo!");
	    	return 1;
		}
 }
__________________________________________________ ______________________________________________
Tirei do Hatycone ! Se Alguem poder me Ajudar com esse error! Ou postar um Comando que age do msm geito mas n de erro! Vlwss
Reply


Messages In This Thread
[AJUDA]Error ao Compilar - by Mengao_Carioca - 26.07.2010, 23:13
Re: [AJUDA]Error ao Compilar - by BiieL - 27.07.2010, 00:12
Re: [AJUDA]Error ao Compilar - by Mengao_Carioca - 27.07.2010, 12:28
Re: [AJUDA]Error ao Compilar - by Marco_Nutz - 27.07.2010, 12:37
Re: [AJUDA]Error ao Compilar - by Mengao_Carioca - 27.07.2010, 21:23

Forum Jump:


Users browsing this thread: 1 Guest(s)