[Ayuda] por quй me da estos errores [Mega bбscio, soy novato]
#1

Hola!! pues, quiero aprender Pawno desde 0, asн que empecй un cуdigo desde 0. xD


Es este. No tiene absolutamente nada xD

Код:
#include <a_samp>
#pragma tabsize 0

main()
{
 print("Server Beta 0.1");

}

public OnGameModeInit()
{
  SetGameModeText("Mapa completo!!");
  SendRconCommand("LS/SF/LV");
  SendRconCommand("xxx");
  
  UsePlayerPedAnims();
  
  AddPlayerClass(0,1186.5472,-1332.8134,13.5613,253.8353,0,0,0,0,0,0);
  

 return 1;
}

public OnGameModeExit()
{
  return 1;
}

public OnPlayerRequestClass(playerid, classid)
{
	return 1;
}

public OnPlayerConnect(palyerid)
{
  SendClientMessage(playerid,0xFFFFFFFF,"Hola ");
 return 1;
}

public OnPlayerDisconnect(playerid,reason)
{
 return 1;
}
public OnPlayerSpawn(playerid)
{
    PlayerPlaySound(playerid,1063,0.0,0.0,0.0);

    SetPlayerPos(playerid,1186.5472,-1332.8134,13.5613);
    SetPlayerHealth(playerid,100);
    SetPlayerArmour(playerid,50);

	return 1;
}

public OnPlayerDeath(playerid, killerid, reason)
{
    SendDeathMessage(killerid,playerid,reason);
	return 1;
}

public OnPlayerText(playerid, text[])
{
	return 1;
}
Mi duda es por quй me da este par de errores y cуmo lo corrijo:

Код:
C:\Users\LENOVO\Desktop\Dan\Todo gta San Andreas\Server\gamemodes\ProbandoFunciones.pwn(34) : error 025: function heading differs from prototype
C:\Users\LENOVO\Desktop\Dan\Todo gta San Andreas\Server\gamemodes\ProbandoFunciones.pwn(36) : error 017: undefined symbol "playerid"
Gracias de antemano.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)