17.05.2011, 14:01
Esse й o CMD:
Erros:
Obrigado desde jб, quem me ajudar.
pawn Код:
if(!strcmp(cmdtext, "/sp", true))
{
GetPlayerPos(playerid, 0.0, 0.0, 0.0);
format(var2, 256, "Vocк salvou sua posiзгo nas coordenadas: %f, %f, %f", 3368, 4168, 4968);
SendClientMessage(playerid, 0xF6F600AA, var2);
return 1;
}
if(!strcmp(cmdtext, "/ip", true))
{
SetPlayerPos(playerid, globD28[playerid], glob1048[playerid], glob1368[playerid]);
format(var2, 256, "Vocк setou sua posiзгo nas coordenadas: %f, %f, %f", 3368, 4168, 4968);
SendClientMessage(playerid, 0xF6F600AA, var2);
return 1;
}
return 0;
}
Код:
C:\Users\Gabriel\Desktop\sal.pwn(100) : error 035: argument type mismatch (argument 2) C:\Users\Gabriel\Desktop\sal.pwn(105) : warning 217: loose indentation C:\Users\Gabriel\Desktop\sal.pwn(107) : error 017: undefined symbol "globD28" C:\Users\Gabriel\Desktop\sal.pwn(107) : warning 215: expression has no effect C:\Users\Gabriel\Desktop\sal.pwn(107) : error 001: expected token: ";", but found "]" C:\Users\Gabriel\Desktop\sal.pwn(107) : error 029: invalid expression, assumed zero C:\Users\Gabriel\Desktop\sal.pwn(107) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 5 Errors.