just 1 error
#1

Код:
 SendClientMessage(playerid, 0x33AA33AA, "You are a Spectator.");
    ResetPlayerWeapons(playerid)
    	SetPlayerHealth(playerid,100);
  		SetPlayerTeam(playerid,0);
  		SetPlayerPos(playerid, 2931.8654785156,4167.9775390625,73.815414428711);
     }
    }
  }
  return 1;
}
what is the problem here ?


Код:
DMZONEv2.pwn(674) : error 001: expected token: ";", but found "-identifier-"
Reply
#2

ResetPlayerWeapons(playerid)

needs a ;
Reply
#3

Код:
 SendClientMessage(playerid, 0x33AA33AA, "You are a Spectator.");
    ResetPlayerWeapons(playerid)
   	SetPlayerHealth(playerid,100);
 		SetPlayerTeam(playerid,0);
 		SetPlayerPos(playerid, 2931.8654785156,4167.9775390625,73.815414428711);
    }
    }
  }
  return 1;
}
Код:
 SendClientMessage(playerid, 0x33AA33AA, "You are a Spectator.");
    ResetPlayerWeapons(playerid);
    	SetPlayerHealth(playerid,100);
  		SetPlayerTeam(playerid,0);
  		SetPlayerPos(playerid, 2931.8654785156,4167.9775390625,73.815414428711);
     }
    }
  }
  return 1;
}
forgot a ";" on ResetPlayerWeapons
Reply
#4

thanks it works. my head hurt ^^ i forgot there :P
Reply


Forum Jump:


Users browsing this thread: