SA-MP Forums Archive
Server Novo! - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: Server Novo! (/showthread.php?tid=300604)



Server Novo! - Falcon_Games - 01.12.2011

Olб Galera!Bom Dia
Bem Galera Estou Fazendo Server Aqui Do Zero Nгo Sou Scripter
E Nem Entendo Do Cуdigo pawno Mas Eu Queria Adicionar Algumas No Meu Server
Ex: Quando Vocк Entra No Veiculo e A Parece Uma Mensagem!
Seria :
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
new string[128];
format(string, sizeof(string), "Entrou No Veiculo Agora Acelera!Acelera!,Sem Bater %i",vehicleid);
SendClientMessage(playerid, 0xFFFFFFFF, string); //Este Cуdigo 0xFFFFFFFF Acho Que й A Cor Se For Tiro Nгo
return 1; // Nгo Defini As Cores Se For tiro
}
Sу Galera Que Meu Server Ainda Tб Faltando Algumas Definiзхes Eu Acho que й isto Poderia Ajuda
Erro Aquii :

C:\Users\Falcon\Desktop\Falcon games\gamemodes\FALCONGAMESBRASIL.pwn(79) : error 055: start of function body without function header
C:\Users\Falcon\Desktop\Falcon games\gamemodes\FALCONGAMESBRASIL.pwn(81) : error 021: symbol already defined: "format"
C:\Users\Falcon\Desktop\Falcon games\gamemodes\FALCONGAMESBRASIL.pwn(83) : error 010: invalid function or declaration
C:\Users\Falcon\Desktop\Falcon games\gamemodes\FALCONGAMESBRASIL.pwn(215) : warning 203: symbol is never used: "string"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


3 Errors.


Re: Server Novo! - ReDKiiL - 01.12.2011

#include <a_samp> no comeзo do gm


Re: Server Novo! - LeMoi - 01.12.2011

Poste as linhas do erro, sem isso nao conseguimos ajudar-te


Re: Server Novo! - Falcon_Games - 01.12.2011

# Include <a_samp> Jб Tem


Re: Server Novo! - Falcon_Games - 01.12.2011

Tб Embaixo As Linhas Do Error


Re: Server Novo! - array13 - 01.12.2011

#include <a_players>


Re: Server Novo! - Falcon_Games - 01.12.2011

Bom Nгo Entendo muito Mas Eu Saia #Definindo Aqui E Deu Meio Certo Apareceu 1 Sу Error Este:
Quote:

C:\Users\Falcon\Desktop\Falcon games\gamemodes\FALCONGAMESBRASIL.pwn(9) : fatal error 100: cannot read from file: "MAX_PLAYER_NAME"

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Error.




Re: Server Novo! - |_MeGaTroN_| - 01.12.2011

Falta a include "MAX_PLAYER_NAME" caso nao for isso verifique se suas includes estao atualizadas..


Re: Server Novo! - array13 - 01.12.2011

Quote:
Originally Posted by |_MeGaTroN_|
Посмотреть сообщение
Falta a include "MAX_PLAYER_NAME" caso nao for isso verifique se suas includes estao atualizadas..
Que eu saiba nao existe MAX_PLAYER_NAME include, ele deve ter saltado algum codigo


Re: Server Novo! - |_MeGaTroN_| - 01.12.2011

porque nao? ele pode estar usando algum sistema que necessite dessa include