Errors [;
#1

The Erros:
Код:
K:\MyOldCom\DeathMatch\gamemodes\SFDM.pwn(1204) : error 029: invalid expression, assumed zero
K:\MyOldCom\DeathMatch\gamemodes\SFDM.pwn(1204) : warning 215: expression has no effect
K:\MyOldCom\DeathMatch\gamemodes\SFDM.pwn(1204) : error 001: expected token: ";", but found "return"
K:\MyOldCom\DeathMatch\gamemodes\SFDM.pwn(1205) : warning 225: unreachable code
K:\MyOldCom\DeathMatch\gamemodes\SFDM.pwn(1227) : error 035: argument type mismatch (argument 2)
Код:
	    if(strcmp(DOF2_GetString(UserFile(playerid),"ClanName"), ClanWarName1, true) != 0 || strcmp(DOF2_GetString(UserFile(playerid),"ClanName"), ClanWarName2, true) != 0)) return SendClientMessage(playerid, CRed, "");
        if(strcmp(DOF2_GetString(UserFile(playerid),"ClanName"), ClanWarName1, true) != 0) {
if(strcmp(DOF2_GetString(UserFile(j),"ClanName"), cmd, true) == 0 || strcmp(DOF2_GetString(UserFile(j),"ClanName"), tmp, true) == 0) {
Please, Help Me [;
Reply
#2

Dude first of all u have your symbol missing and thats ; that should be included after ); like this try adding that to the error line and re-compile
Reply
#3

try
Код:
	    if(strcmp(DOF2_GetString(UserFile(playerid),"ClanName"), ClanWarName1, true) != 0 || strcmp(DOF2_GetString(UserFile(playerid),"ClanName"), ClanWarName2, true) != 0)) return SendClientMessage(playerid, CRed, "");
        if(strcmp(DOF2_GetString(UserFile(playerid),"ClanName"), ClanWarName1, true) != 0); {
if(strcmp(DOF2_GetString(UserFile(j),"ClanName"), cmd, true) == 0 || strcmp(DOF2_GetString(UserFile(j),"ClanName"), tmp, true) == 0); {
Reply
#4

don't work, i have other's errors..
Reply
#5

Dude post the Errors here then we can see what is the problem.
Reply
#6

Thanks everyone, i reapired the erros..

sory for bad english.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)