[Ajuda] GM nгo altera
#1

Boas pessoal! Sou novo por aqui e ainda um pouco novato no pawn mas no entanto agr que comeзei so a criar um server de testes, ao alterar o local de respawn e ao adicionar novos mapas o GM guarda essas alteraзхes. Sу que ao entrar no server, estб igual ta intacto, inicio no local que tinha e nгo o que eu meti e n aparece mapa nenhum dos que eu meti,

pff ajuda
Reply
#2

Tem Certeza que compilou ? Ou somente salvou o arquivo
Reply
#3

Quote:
Originally Posted by TheKoDaK
Посмотреть сообщение
Tem Certeza que compilou ? Ou somente salvou o arquivo
Sim meti
meti no intervalo

public OnGameModeInit()
Reply
#4

lol... Tem certeza msm que apertou F5 ?
Reply
#5

Quote:
Originally Posted by TheKoDaK
Посмотреть сообщение
lol... Tem certeza msm que apertou F5 ?
'.' Ups! F5 onde?

no pawno fiz o F5 e tem alguns erros n a verda

\gamemodes\03x_RC2.pwn(131) : warning 225: unreachable code
\gamemodes\03x_RC2.pwn(530) : warning 209: function "OnGameModeInit" should return a value
\gamemodes\03x_RC2.pwn(623) : error 017: undefined symbol "TEXT_DRAW_FONT_MODEL_PREVIEW"
\03x_RC2.pwn(633) : error 017: undefined symbol "PlayerTextDrawSetPreviewModel"
\03x_RC2.pwn(634) : error 017: undefined symbol "PlayerTextDrawSetPreviewRot"
\03x_RC2.pwn(71 : error 017: undefined symbol "SPECIAL_ACTION_CARRY"
\03x_RC2.pwn(875) : error 017: undefined symbol "PlayerTextDrawSetPreviewModel"
\03x_RC2.pwn(876) : error 017: undefined symbol "PlayerTextDrawSetPreviewVehCol"
\03x_RC2.pwn(877) : error 017: undefined symbol "PlayerTextDrawSetPreviewRot"
\03x_RC2.pwn(911) : error 017: undefined symbol "PlayerTextDrawSetPreviewRot"
\03x_RC2.pwn(912) : error 017: undefined symbol "PlayerTextDrawSetPreviewVehCol"
\03x_RC2.pwn(91 : error 017: undefined symbol "PlayerTextDrawSetPreviewRot"
\03x_RC2.pwn(919) : error 017: undefined symbol "PlayerTextDrawSetPreviewVehCol"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
Reply
#6

Quote:
Originally Posted by Diogo_Charters
Посмотреть сообщение
'.' Ups! F5 onde?
F5 Do Teclado
Reply
#7

Acerio? kkkk
Sim carreguei e deu estes erros

\gamemodes\03x_RC2.pwn(131) : warning 225: unreachable code
\gamemodes\03x_RC2.pwn(530) : warning 209: function "OnGameModeInit" should return a value
\gamemodes\03x_RC2.pwn(623) : error 017: undefined symbol "TEXT_DRAW_FONT_MODEL_PREVIEW"
\03x_RC2.pwn(633) : error 017: undefined symbol "PlayerTextDrawSetPreviewModel"
\03x_RC2.pwn(634) : error 017: undefined symbol "PlayerTextDrawSetPreviewRot"
\03x_RC2.pwn(71 : error 017: undefined symbol "SPECIAL_ACTION_CARRY"
\03x_RC2.pwn(875) : error 017: undefined symbol "PlayerTextDrawSetPreviewModel"
\03x_RC2.pwn(876) : error 017: undefined symbol "PlayerTextDrawSetPreviewVehCol"
\03x_RC2.pwn(877) : error 017: undefined symbol "PlayerTextDrawSetPreviewRot"
\03x_RC2.pwn(911) : error 017: undefined symbol "PlayerTextDrawSetPreviewRot"
\03x_RC2.pwn(912) : error 017: undefined symbol "PlayerTextDrawSetPreviewVehCol"
\03x_RC2.pwn(91 : error 017: undefined symbol "PlayerTextDrawSetPreviewRot"
\03x_RC2.pwn(919) : error 017: undefined symbol "PlayerTextDrawSetPreviewVehCol"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

sera esse o motivo?
Reply
#8

Quote:
Originally Posted by Diogo_Charters
Посмотреть сообщение
Acerio? kkkk
Sim carreguei e deu estes erros

\gamemodes\03x_RC2.pwn(131) : warning 225: unreachable code
\gamemodes\03x_RC2.pwn(530) : warning 209: function "OnGameModeInit" should return a value
\gamemodes\03x_RC2.pwn(623) : error 017: undefined symbol "TEXT_DRAW_FONT_MODEL_PREVIEW"
\03x_RC2.pwn(633) : error 017: undefined symbol "PlayerTextDrawSetPreviewModel"
\03x_RC2.pwn(634) : error 017: undefined symbol "PlayerTextDrawSetPreviewRot"
\03x_RC2.pwn(71 : error 017: undefined symbol "SPECIAL_ACTION_CARRY"
\03x_RC2.pwn(875) : error 017: undefined symbol "PlayerTextDrawSetPreviewModel"
\03x_RC2.pwn(876) : error 017: undefined symbol "PlayerTextDrawSetPreviewVehCol"
\03x_RC2.pwn(877) : error 017: undefined symbol "PlayerTextDrawSetPreviewRot"
\03x_RC2.pwn(911) : error 017: undefined symbol "PlayerTextDrawSetPreviewRot"
\03x_RC2.pwn(912) : error 017: undefined symbol "PlayerTextDrawSetPreviewVehCol"
\03x_RC2.pwn(91 : error 017: undefined symbol "PlayerTextDrawSetPreviewRot"
\03x_RC2.pwn(919) : error 017: undefined symbol "PlayerTextDrawSetPreviewVehCol"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

sera esse o motivo?
KKKK me passa a linhas dos erros que eu posso te ajudar '-'
Reply
#9

Para vocк ''setar'' algo para um GM vocк n deve salvar, e sim compilar ( F6 ou F5 )
Se aparecer Errors o servidor n funciona
Reply
#10

Ai esta a unica linha que me ta a dar erro


public OnGameModeInit()
{
//--------------------------Please do not change this--------------------------------
SendRconCommand("hostname \t « SA-MP "SVR" Test »");
SendRconCommand("gamemodetext "SVR" Gamemode by Drebin");
SendRconCommand("mapname Fort Carson | ENG");
SendRconCommand("weburl "URL);
//-----------------------------------------------------------------------------------

AddPlayerClass(0, 671.6457, -1263.0408, 13.6250, 91.1843, 0, 0, 0, 0, 0, 0);
InfoPick = CreatePickup(1239, 2, 99.3741, 1098.1072, 13.6154, -1);
Infernuses[0] = CreateVehicle(411, 117.3880, 1110.7440, 13.0948, 180.0000, -1, -1, 100);
Infernuses[1] = CreateVehicle(411, 120.8880, 1110.7440, 13.0948, 180.0000, -1, -1, 100);
Infernuses[2] = CreateVehicle(411, 124.3880, 1110.7440, 13.0948, 180.0000, -1, -1, 100);
NRGs[0] = CreateVehicle(496, 99.1378, 1110.3125, 13.1021, 180.0000, -1, -1, 100);
NRGs[1] = CreateVehicle(522, 101.6378, 1110.3125, 13.1021, 180.0000, -1, -1, 100);
NRGs[2] = CreateVehicle(522, 104.1378, 1110.3125, 13.1021, 180.0000, -1, -1, 100);
Canvas[0] = CreateObject(19353, 110.75, 1023.95, 20.36, 0.00, 0.00, 90.00);
SetVehicleNumberPlate(Infernuses[0], "{000000}SA-MP");
SetVehicleNumberPlate(Infernuses[1], "{000000}SA-MP");
SetVehicleNumberPlate(Infernuses[2], "{000000}SA-MP");
SetObjectMaterialText(Canvas[0], "SA-MP "SV, 0, 60, "Arial", 29, 1, -16777216, 0, 0);
prevrot = -20.0;
return 1;


CreateObject(640, 1805.90002, -1742.66003, 13.13000, 0.0, 0.0, 270.0);


й a que esta a negrito, pensso que o pawno n estб a conhecer o codigo se n me engano
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)