C:\Documents and Settings\Cicero\Desktop\TEST\gamemodes\FFCv1.pwn(1164) : warning 217: loose indentation
C:\Documents and Settings\Cicero\Desktop\TEST\gamemodes\FFCv1.pwn(1166) : error 076: syntax error in the expression, or invalid function call
C:\Documents and Settings\Cicero\Desktop\TEST\gamemodes\FFCv1.pwn(1166) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Cicero\Desktop\TEST\gamemodes\FFCv1.pwn(1166) : warning 215: expression has no effect
C:\Documents and Settings\Cicero\Desktop\TEST\gamemodes\FFCv1.pwn(1166) : error 001: expected token: ";", but found ")"
C:\Documents and Settings\Cicero\Desktop\TEST\gamemodes\FFCv1.pwn(1166) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Errors.
if(strcmp,cmd,"/bilhetche",true) == 0)
GivePlayerMoney(playerid,-1000);
SendClientMessage(playerid,COLOR_BLUE,"Vocк comprou um Bilhetchк LOL",true);
MoveObject(976,841.30114746094,-2061.31640625,14.016621589661,-1000.0,-1000.0,-1000.0);
return 1;
}
if(!strcmp(cmd,"/bilhetche",true))
{
GivePlayerMoney(playerid,-1000);
SendClientMessage(playerid,COLOR_BLUE,"Vocк comprou um Bilhetchк LOL");
MoveObject(976,841.30114746094,-2061.31640625,14.016621589661,-1000.0,-1000.0,-1000.0);
return 1;
}
if (strcmp("/bilhetche", cmdtext, true, 10) == 0) { GivePlayerMoney(playerid,-1000); SendClientMessage(playerid,COLOR_BLUE,"Vocк comprou um Bilhetchк LOL",true); MoveObject(976,841.30114746094,-2061.31640625,14.016621589661,-1000.0,-1000.0,-1000.0); return 1; } |
Como vocк fechou a panela sem ter a aberto?
Aonde a funзгo comeзa, Erick? Que decepзгo... Vocк tem que abrir a chave para poder fecha-la: |
new Objeto;
public OnGameModeInit()
{
Objeto = CreateObject(3599,-308.17419434,1573.83422852,80.30518341,0.00000000,0.00000000,44.00000000);
return 1;
}
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/moverobjeto", cmdtext, true, 12) == 0)
{
MoveObject(Objeto, -308.17419434,1573.83422852,70.30518341, 2.5);
return 1;
}
return SendClientMessage(playerid, -1, "Comando Inexistente");
}