Alguem me ajuda Erros no gm
#1

Aki й os erros q da no gm
Код:
C:\Users\Lucca\Desktop\samp03asvr_R7_win32\gamemodes\talk2.pwn(2133) : warning 202: number of arguments does not match definition
C:\Users\Lucca\Desktop\samp03asvr_R7_win32\gamemodes\talk2.pwn(2162) : warning 202: number of arguments does not match definition
C:\Users\Lucca\Desktop\samp03asvr_R7_win32\gamemodes\talk2.pwn(2758) : warning 202: number of arguments does not match definition
C:\Users\Lucca\Desktop\samp03asvr_R7_win32\gamemodes\talk2.pwn(3426) : warning 202: number of arguments does not match definition
C:\Users\Lucca\Desktop\samp03asvr_R7_win32\gamemodes\talk2.pwn(4359) : warning 202: number of arguments does not match definition
C:\Users\Lucca\Desktop\samp03asvr_R7_win32\gamemodes\talk2.pwn(4428) : warning 202: number of arguments does not match definition
C:\Users\Lucca\Desktop\samp03asvr_R7_win32\gamemodes\talk2.pwn(4434) : warning 202: number of arguments does not match definition
C:\Users\Lucca\Desktop\samp03asvr_R7_win32\gamemodes\talk2.pwn(4459) : warning 202: number of arguments does not match definition
C:\Users\Lucca\Desktop\samp03asvr_R7_win32\gamemodes\talk2.pwn(4460) : warning 202: number of arguments does not match definition
C:\Users\Lucca\Desktop\samp03asvr_R7_win32\gamemodes\talk2.pwn(4506) : warning 202: number of arguments does not match definition
C:\Users\Lucca\Desktop\samp03asvr_R7_win32\gamemodes\talk2.pwn(4507) : warning 202: number of arguments does not match definition
C:\Users\Lucca\Desktop\samp03asvr_R7_win32\gamemodes\talk2.pwn(4537) : warning 202: number of arguments does not match definition
C:\Users\Lucca\Desktop\samp03asvr_R7_win32\gamemodes\talk2.pwn(4538) : warning 202: number of arguments does not match definition
C:\Users\Lucca\Desktop\samp03asvr_R7_win32\gamemodes\talk2.pwn(4544) : warning 202: number of arguments does not match definition
C:\Users\Lucca\Desktop\samp03asvr_R7_win32\gamemodes\talk2.pwn(4545) : warning 202: number of arguments does not match definition
C:\Users\Lucca\Desktop\samp03asvr_R7_win32\gamemodes\talk2.pwn(4596) : warning 202: number of arguments does not match definition
C:\Users\Lucca\Desktop\samp03asvr_R7_win32\gamemodes\talk2.pwn(4596) : warning 202: number of arguments does not match definition
C:\Users\Lucca\Desktop\samp03asvr_R7_win32\gamemodes\talk2.pwn(4596) : warning 202: number of arguments does not match definition
C:\Users\Lucca\Desktop\samp03asvr_R7_win32\gamemodes\talk2.pwn(4596) : warning 202: number of arguments does not match definition
C:\Users\Lucca\Desktop\samp03asvr_R7_win32\gamemodes\talk2.pwn(4596) : warning 202: number of arguments does not match definition
C:\Users\Lucca\Desktop\samp03asvr_R7_win32\gamemodes\talk2.pwn(4596) : warning 202: number of arguments does not match definition
C:\Users\Lucca\Desktop\samp03asvr_R7_win32\gamemodes\talk2.pwn(4596) : warning 202: number of arguments does not match definition
C:\Users\Lucca\Desktop\samp03asvr_R7_win32\gamemodes\talk2.pwn(4610) : warning 202: number of arguments does not match definition
C:\Users\Lucca\Desktop\samp03asvr_R7_win32\gamemodes\talk2.pwn(4610) : warning 202: number of arguments does not match definition
C:\Users\Lucca\Desktop\samp03asvr_R7_win32\gamemodes\talk2.pwn(4610) : warning 202: number of arguments does not match definition
C:\Users\Lucca\Desktop\samp03asvr_R7_win32\gamemodes\talk2.pwn(4610) : warning 202: number of arguments does not match definition
C:\Users\Lucca\Desktop\samp03asvr_R7_win32\gamemodes\talk2.pwn(4610) : warning 202: number of arguments does not match definition
C:\Users\Lucca\Desktop\samp03asvr_R7_win32\gamemodes\talk2.pwn(4610) : warning 202: number of arguments does not match definition
C:\Users\Lucca\Desktop\samp03asvr_R7_win32\gamemodes\talk2.pwn(4610) : warning 202: number of arguments does not match definition
C:\Users\Lucca\Desktop\samp03asvr_R7_win32\gamemodes\talk2.pwn(4625) : warning 202: number of arguments does not match definition
C:\Users\Lucca\Desktop\samp03asvr_R7_win32\gamemodes\talk2.pwn(4625) : warning 202: number of arguments does not match definition
C:\Users\Lucca\Desktop\samp03asvr_R7_win32\gamemodes\talk2.pwn(4625) : warning 202: number of arguments does not match definition
C:\Users\Lucca\Desktop\samp03asvr_R7_win32\gamemodes\talk2.pwn(4625) : warning 202: number of arguments does not match definition
C:\Users\Lucca\Desktop\samp03asvr_R7_win32\gamemodes\talk2.pwn(4625) : warning 202: number of arguments does not match definition
C:\Users\Lucca\Desktop\samp03asvr_R7_win32\gamemodes\talk2.pwn(4625) : warning 202: number of arguments does not match definition
C:\Users\Lucca\Desktop\samp03asvr_R7_win32\gamemodes\talk2.pwn(4625) : warning 202: number of arguments does not match definition
C:\Users\Lucca\Desktop\samp03asvr_R7_win32\gamemodes\talk2.pwn(4638) : warning 202: number of arguments does not match definition
C:\Users\Lucca\Desktop\samp03asvr_R7_win32\gamemodes\talk2.pwn(4638) : warning 202: number of arguments does not match definition
C:\Users\Lucca\Desktop\samp03asvr_R7_win32\gamemodes\talk2.pwn(4638) : warning 202: number of arguments does not match definition
C:\Users\Lucca\Desktop\samp03asvr_R7_win32\gamemodes\talk2.pwn(4638) : warning 202: number of arguments does not match definition
C:\Users\Lucca\Desktop\samp03asvr_R7_win32\gamemodes\talk2.pwn(4638) : warning 202: number of arguments does not match definition
C:\Users\Lucca\Desktop\samp03asvr_R7_win32\gamemodes\talk2.pwn(4638) : warning 202: number of arguments does not match definition
C:\Users\Lucca\Desktop\samp03asvr_R7_win32\gamemodes\talk2.pwn(4638) : warning 202: number of arguments does not match definition
C:\Users\Lucca\Desktop\samp03asvr_R7_win32\gamemodes\talk2.pwn(4832) : warning 202: number of arguments does not match definition
C:\Users\Lucca\Desktop\samp03asvr_R7_win32\gamemodes\talk2.pwn(4840) : warning 202: number of arguments does not match definition
C:\Users\Lucca\Desktop\samp03asvr_R7_win32\gamemodes\talk2.pwn(4848) : warning 202: number of arguments does not match definition
C:\Users\Lucca\Desktop\samp03asvr_R7_win32\gamemodes\talk2.pwn(4856) : warning 202: number of arguments does not match definition
C:\Users\Lucca\Desktop\samp03asvr_R7_win32\gamemodes\talk2.pwn(4864) : warning 202: number of arguments does not match definition
C:\Users\Lucca\Desktop\samp03asvr_R7_win32\gamemodes\talk2.pwn(5034) : warning 202: number of arguments does not match definition
C:\Users\Lucca\Desktop\samp03asvr_R7_win32\gamemodes\talk2.pwn(5227) : warning 202: number of arguments does not match definition
C:\Users\Lucca\Desktop\samp03asvr_R7_win32\gamemodes\talk2.pwn(5236) : warning 202: number of arguments does not match definition
C:\Users\Lucca\Desktop\samp03asvr_R7_win32\gamemodes\talk2.pwn(5245) : warning 202: number of arguments does not match definition
C:\Users\Lucca\Desktop\samp03asvr_R7_win32\gamemodes\talk2.pwn(5254) : warning 202: number of arguments does not match definition
C:\Users\Lucca\Desktop\samp03asvr_R7_win32\gamemodes\talk2.pwn(5263) : warning 202: number of arguments does not match definition
C:\Users\Lucca\Desktop\samp03asvr_R7_win32\gamemodes\talk2.pwn(5419) : warning 202: number of arguments does not match definition
C:\Users\Lucca\Desktop\samp03asvr_R7_win32\gamemodes\talk2.pwn(5426) : warning 202: number of arguments does not match definition
C:\Users\Lucca\Desktop\samp03asvr_R7_win32\gamemodes\talk2.pwn(5440) : warning 202: number of arguments does not match definition
C:\Users\Lucca\Desktop\samp03asvr_R7_win32\gamemodes\talk2.pwn(5449) : warning 202: number of arguments does not match definition
C:\Users\Lucca\Desktop\samp03asvr_R7_win32\gamemodes\talk2.pwn(5458) : warning 202: number of arguments does not match definition
C:\Users\Lucca\Desktop\samp03asvr_R7_win32\gamemodes\talk2.pwn(5467) : warning 202: number of arguments does not match definition
C:\Users\Lucca\Desktop\samp03asvr_R7_win32\gamemodes\talk2.pwn(5545) : warning 202: number of arguments does not match definition
C:\Users\Lucca\Desktop\samp03asvr_R7_win32\gamemodes\talk2.pwn(5559) : warning 202: number of arguments does not match definition
C:\Users\Lucca\Desktop\samp03asvr_R7_win32\gamemodes\talk2.pwn(5616) : warning 202: number of arguments does not match definition
C:\Users\Lucca\Desktop\samp03asvr_R7_win32\gamemodes\talk2.pwn(5639) : warning 202: number of arguments does not match definition
C:\Users\Lucca\Desktop\samp03asvr_R7_win32\gamemodes\talk2.pwn(5647) : warning 202: number of arguments does not match definition
C:\Users\Lucca\Desktop\samp03asvr_R7_win32\gamemodes\talk2.pwn(5663) : warning 219: local variable "newcar" shadows a variable at a preceding level
C:\Users\Lucca\Desktop\samp03asvr_R7_win32\gamemodes\talk2.pwn(5688) : warning 202: number of arguments does not match definition
C:\Users\Lucca\Desktop\samp03asvr_R7_win32\gamemodes\talk2.pwn(5696) : warning 219: local variable "newcar" shadows a variable at a preceding level
C:\Users\Lucca\Desktop\samp03asvr_R7_win32\gamemodes\talk2.pwn(5697) : warning 219: local variable "oldcar" shadows a variable at a preceding level
C:\Users\Lucca\Desktop\samp03asvr_R7_win32\gamemodes\talk2.pwn(5698) : warning 219: local variable "HouseCar" shadows a variable at a preceding level
C:\Users\Lucca\Desktop\samp03asvr_R7_win32\gamemodes\talk2.pwn(5698) : warning 204: symbol is assigned a value that is never used: "HouseCar"
C:\Users\Lucca\Desktop\samp03asvr_R7_win32\gamemodes\talk2.pwn(5697) : warning 204: symbol is assigned a value that is never used: "oldcar"
C:\Users\Lucca\Desktop\samp03asvr_R7_win32\gamemodes\talk2.pwn(6035) : error 010: invalid function or declaration
C:\Users\Lucca\Desktop\samp03asvr_R7_win32\gamemodes\talk2.pwn(6037) : error 010: invalid function or declaration
C:\Users\Lucca\Desktop\samp03asvr_R7_win32\gamemodes\talk2.pwn(6039) : error 010: invalid function or declaration
C:\Users\Lucca\Desktop\samp03asvr_R7_win32\gamemodes\talk2.pwn(6042) : error 021: symbol already defined: "GetPlayerPos"
C:\Users\Lucca\Desktop\samp03asvr_R7_win32\gamemodes\talk2.pwn(6043) : error 010: invalid function or declaration
C:\Users\Lucca\Desktop\samp03asvr_R7_win32\gamemodes\talk2.pwn(6045) : error 010: invalid function or declaration
C:\Users\Lucca\Desktop\samp03asvr_R7_win32\gamemodes\talk2.pwn(6047) : error 010: invalid function or declaration
C:\Users\Lucca\Desktop\samp03asvr_R7_win32\gamemodes\talk2.pwn(6049) : error 021: symbol already defined: "SetPlayerSpawn"
C:\Users\Lucca\Desktop\samp03asvr_R7_win32\gamemodes\talk2.pwn(6051) : error 010: invalid function or declaration
C:\Users\Lucca\Desktop\samp03asvr_R7_win32\gamemodes\talk2.pwn(6053) : error 010: invalid function or declaration
C:\Users\Lucca\Desktop\samp03asvr_R7_win32\gamemodes\talk2.pwn(6055) : error 010: invalid function or declaration
C:\Users\Lucca\Desktop\samp03asvr_R7_win32\gamemodes\talk2.pwn(6060) : error 010: invalid function or declaration
C:\Users\Lucca\Desktop\samp03asvr_R7_win32\gamemodes\talk2.pwn(6062) : error 010: invalid function or declaration
C:\Users\Lucca\Desktop\samp03asvr_R7_win32\gamemodes\talk2.pwn(6064) : error 010: invalid function or declaration
C:\Users\Lucca\Desktop\samp03asvr_R7_win32\gamemodes\talk2.pwn(6071) : warning 215: expression has no effect
C:\Users\Lucca\Desktop\samp03asvr_R7_win32\gamemodes\talk2.pwn(6071) : error 001: expected token: ";", but found ")"
C:\Users\Lucca\Desktop\samp03asvr_R7_win32\gamemodes\talk2.pwn(6071) : error 010: invalid function or declaration
C:\Users\Lucca\Desktop\samp03asvr_R7_win32\gamemodes\talk2.pwn(6071 -- 6076) : error 010: invalid function or declaration
C:\Users\Lucca\Desktop\samp03asvr_R7_win32\gamemodes\talk2.pwn(6071 -- 6076) : fatal error 107: too many error messages on one line
Qria que alguem me fala pelo menos os 4 ultimos й os que n deixa coda!


LINHAS DO ERROS AI
Код:
if(oldcar != 301)
		{
			if((HouseCar != oldcar && oldcar != 0) && (HireCar[playerid] != oldcar && newcar != HouseCar))
			{
				if(gLastDriver[oldcar] == playerid && oldcar != newcar)
				{
					gLastDriver[oldcar] = 300;
					gCarLock[oldcar] = 0;
					UnLockCar(oldcar);
				}
			}
		}
		gLastCar[playerid] = newcar;
		gLastDriver[newcar] = playerid;
	}
	if(newstate == PLAYER_STATE_SPAWNED && logouagora[playerid] ==0 )
	{
	  if(sincronizando[playerid] == 1)
		{
		return 1;
		}
		new Float: lwx, Float:lwy, Float:lwz);
		GetPlayerPos(playerid, lwx, lwy, lwz);
		if((lwz > 530.0 && PlayerInfo[playerid][pInt] == 0) || PlayerToPoint(1000.0, playerid, -1041.9,-1868.4,79.1)) //the highest land point in sa = 526.8
		{
		  if(sincronizando[playerid] == 1)
			{
			return 1;
			}
			SetPlayerSpawn(playerid);
		}
		if(WantedPoints[playerid] > 0)
		{
		  if(sincronizando[playerid] == 1)
			{
			return 1;
			}
		  new dstring[128];
			new wanted = WantedPoints[playerid];
			new diecash = 0;
		  while(WantedPoints[playerid] > 0)
		  {
		    if(sincronizando[playerid] == 1)
				{
				return 1;
				}
		    diecash += 500;
		    WantedPoints[playerid] --;
Reply
#2

Nгo tenho bola de cristal para ver as linhas do seu GM que dгo o erro.

Mas com meus superpoderes posso deduzir:

Que na linha 6071 esteja faltando um parenteses ")"
Que vocк jб definiu "GetPlayerPos" provavelmente com um "new" uma vez na linha 6042 e outro anteriormente!
Que vocк jб definiu "SetPlayerSpawn" provavelmente com um "new" uma vez na linha 6049 e outro anteriormente!

Para mais precisгo na ajuda por favor poste as linhas do erro!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)