[Ajuda] ZCMD me dando dor de cabeзa.
#1

Simplesmente eu nгo sei o que estб acontecendo '-'

Obs№: Eu sei que estas linhas poderiam estar bem mais simplificadas, mas por enquanto й desse jeito que eu sei fazer :P
ObsІ: Includes do GM: ZCMD, SSCANF, DOF2.
Obsі: Outros comandos nesse mesmo formato nгo estгo dando erro, e quando apago a linha de comando "eta" as demais linhas de comando apresentam o mesmo erro.


Pawn code:

Quote:

CMD:epa(playerid)
{
GameTextForPlayer(playerid, "~w~O elevador estб indo para o:~n~~b~1є Andar.", 5000, 3);
MoveObject(ep, 1512.53, -1764.08, 19.92, 1.0, 0.00, 0.00, 0.00);
MoveObject(pe1e,1512.3875, -1762.2513, 19.9075, 1.0, 0.00, 0.00, 0.00); // 1 aberta
MoveObject(pe1d,1512.3875, -1765.8579, 19.9075, 1.0, 0.00, 0.00, 0.00); // 1 aberta
MoveObject(pete,1512.3875, -1764.0314, 14.5090, 1.0, 0.00, 0.00, 0.00); // t fechada
MoveObject(petd,1512.3875, -1764.0579, 14.5090, 1.0, 0.00, 0.00, 0.00); // t fechada
MoveObject(pe2e,1512.3875, -1764.0314, 25.3607, 1.0, 0.00, 0.00, 0.00); // 2 fechada
MoveObject(pe2d,1512.3875, -1764.0579, 25.3607, 1.0, 0.00, 0.00, 0.00); // 2 fechada
MoveObject(pe3e,1512.3875, -1764.0314, 30.8437, 1.0, 0.00, 0.00, 0.00); // 3 fechada
MoveObject(pe3d,1512.3875, -1764.0579, 30.8488, 1.0, 0.00, 0.00, 0.00); // 3 fechada
return 1;
}

CMD:esa(playerid)
{
GameTextForPlayer(playerid, "~w~O elevador estб indo para o:~n~~b~2є Andar.", 5000, 3);
MoveObject(ep, 1512.53, -1764.08, 25.37, 1.0, 0.00, 0.00, 0.00);
MoveObject(pe2e,1512.3875, -1762.2513, 25.3607, 1.0, 0.00, 0.00, 0.00); // 2 aberta
MoveObject(pe2d,1512.3875, -1765.8579, 25.3607, 1.0, 0.00, 0.00, 0.00); // 2 aberta
MoveObject(pe1e,1512.3875, -1764.0314, 19.9075, 1.0, 0.00, 0.00, 0.00); // 1 fechada
MoveObject(pe1d,1512.3875, -1764.0579, 19.9075, 1.0, 0.00, 0.00, 0.00); // 1 fechada
MoveObject(pete,1512.3875, -1764.0314, 14.5090, 1.0, 0.00, 0.00, 0.00); // t fechada
MoveObject(petd,1512.3875, -1764.0579, 14.5090, 1.0, 0.00, 0.00, 0.00); // t fechada
MoveObject(pe3e,1512.3875, -1764.0314, 30.8437, 1.0, 0.00, 0.00, 0.00); // 3 fechada
MoveObject(pe3d,1512.3875, -1764.0579, 30.8488, 1.0, 0.00, 0.00, 0.00); // 3 fechada
return 1;
{

CMD:eta(playerid)
{
GameTextForPlayer(playerid, "~w~O elevador estб indo para o:~n~~b~3є Andar.", 5000, 3);
MoveObject(ep, 1512.53, -1764.08, 30.82, 1.0, 0.00, 0.00, 0.00);
MoveObject(pe3e,1512.3875, -1762.2513, 30.8437, 1.0, 0.00, 0.00, 0.00); // 3 aberta
MoveObject(pe3d,1512.3875, -1765.8579, 30.8488, 1.0, 0.00, 0.00, 0.00); // 3 aberta
MoveObject(pete,1512.3875, -1764.0314, 14.5090, 1.0, 0.00, 0.00, 0.00); // t fechada
MoveObject(petd,1512.3875, -1764.0579, 14.5090, 1.0, 0.00, 0.00, 0.00); // t fechada
MoveObject(pe1e,1512.3875, -1764.0314, 19.9075, 1.0, 0.00, 0.00, 0.00); // 1 fechada
MoveObject(pe1d,1512.3875, -1764.0579, 19.9075, 1.0, 0.00, 0.00, 0.00); // 1 fechada
MoveObject(pe2e,1512.3875, -1764.0314, 25.3607, 1.0, 0.00, 0.00, 0.00); // 2 fechada
MoveObject(pe2d,1512.3875, -1764.0579, 25.3607, 1.0, 0.00, 0.00, 0.00); // 2 fechada
return 1;
{

CMD:ett(playerid)
{
GameTextForPlayer(playerid, "~w~O elevador estб indo para o:~n~~b~Tйrreo.", 5000, 3);
MoveObject(ep, 1512.53, -1764.08, 14.49, 1.0, 0.00, 0.00, 0.00);
MoveObject(pete,1512.3875, -1762.2513, 14.5090, 1.0, 0.00, 0.00, 0.00); // t aberta
MoveObject(petd,1512.3875, -1765.8579, 14.5090, 1.0, 0.00, 0.00, 0.00); // t aberta
MoveObject(pe1e,1512.3875, -1764.0314, 19.9075, 1.0, 0.00, 0.00, 0.00); // 1 fechada
MoveObject(pe1d,1512.3875, -1764.0579, 19.9075, 1.0, 0.00, 0.00, 0.00); // 1 fechada
MoveObject(pe2e,1512.3875, -1764.0314, 25.3607, 1.0, 0.00, 0.00, 0.00); // 2 fechada
MoveObject(pe2d,1512.3875, -1764.0579, 25.3607, 1.0, 0.00, 0.00, 0.00); // 2 fechada
MoveObject(pe3e,1512.3875, -1764.0314, 30.8437, 1.0, 0.00, 0.00, 0.00); // 3 fechada
MoveObject(pe3d,1512.3875, -1764.0579, 30.8488, 1.0, 0.00, 0.00, 0.00); // 3 fechada
return 1;
{

Pawn compiler:

Quote:

C:\Users\Erika\Desktop\Servidor\Servidor de Teste\gamemodes\Base2.pwn(593) : warning 225: unreachable code
C:\Users\Erika\Desktop\Servidor\Servidor de Teste\gamemodes\Base2.pwn(593) : warning 217: loose indentation
C:\Users\Erika\Desktop\Servidor\Servidor de Teste\gamemodes\Base2.pwn(595) : error 029: invalid expression, assumed zero
C:\Users\Erika\Desktop\Servidor\Servidor de Teste\gamemodes\Base2.pwn(595) : error 017: undefined symbol "cmd_eta"
C:\Users\Erika\Desktop\Servidor\Servidor de Teste\gamemodes\Base2.pwn(595) : error 029: invalid expression, assumed zero
C:\Users\Erika\Desktop\Servidor\Servidor de Teste\gamemodes\Base2.pwn(595) : fatal error 107: too many error messages on one line

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


4 Errors.

Se alguйm se dispor a ajudar, deve ser algo besta, enfim..
Reply


Messages In This Thread
ZCMD me dando dor de cabeзa. - by Ely Manning - 24.09.2012, 21:30
Re: ZCMD me dando dor de cabeзa. - by Zuiudгo - 24.09.2012, 21:34
Re: ZCMD me dando dor de cabeзa. - by Q.I - 24.09.2012, 21:37
Re: ZCMD me dando dor de cabeзa. - by Ely Manning - 24.09.2012, 21:37
Re: ZCMD me dando dor de cabeзa. - by .ThePro - 25.09.2012, 02:43

Forum Jump:


Users browsing this thread: 4 Guest(s)