07.10.2011, 10:46
Ola no meu gm tem esse codigo de fazer atentado na dp mais ta dando erro alguem me ajuda por favor Codigo :
Erro :
ajuda pf
PHP код:
if(strcmp(cmdtext, "/atentadodp", true) == 0)
{
new string00[128];
new sendername[MAX_PLAYER_NAME];
GetPlayerName(playerid, sendername, sizeof(sendername));
format(string00,sizeof(string00),"%s Fez um atentado terrorista a DP",sendername);
SendClientMessageToAll(0xF60000AA,string00);
GetPlayerPos(playerid,x,y,z);
ApplyAnimation(playerid, "BOMBER", "BOM_Plant", 4.0, 0, 0, 0, 0, 0);
SetTimerEx("CriarExplosaos",8000,false,"fffdf",x,y,z,10,2000.0);
SetTimerEx("CriarExplosaoss",8000,false,"fffdf",x,y,z,10,2000.0);
GivePlayerGP(playerid, 100);
dinid = CreateDynamicObject(1654,x+1,y,z-0.8,0,0,0);
SetTimerEx("DestruirObjetos",8000,false,"d",dinid);
SendClientMessage(playerid,COLOR_YELLOW,"Vocк armou a bomba e ganhou R$500");
BombTime[playerid] = 1;
SetTimerEx("BombTimer", 240000, false, "i", playerid);
WantedPoints[playerid]+=1;
SetPlayerCriminal(playerid,255,"Atentado terrorista");
else return SendClientMessage(playerid, COLOR_GREY,"Vocк nгo й membro de gang.");
return 1;
}*/
Код:
C:\Users\Felipe\Desktop\gmusado\gamemodes\Testemapa.pwn(1195) : error 020: invalid symbol name "" C:\Users\Felipe\Desktop\gmusado\gamemodes\Testemapa.pwn(1205) : error 020: invalid symbol name "" C:\Users\Felipe\Desktop\gmusado\gamemodes\Testemapa.pwn(1219) : error 020: invalid symbol name "" C:\Users\Felipe\Desktop\gmusado\gamemodes\Testemapa.pwn(3458) : error 029: invalid expression, assumed zero C:\Users\Felipe\Desktop\gmusado\gamemodes\Testemapa.pwn(3458) : warning 215: expression has no effect C:\Users\Felipe\Desktop\gmusado\gamemodes\Testemapa.pwn(3458) : error 001: expected token: ";", but found "]" C:\Users\Felipe\Desktop\gmusado\gamemodes\Testemapa.pwn(3458) : error 029: invalid expression, assumed zero C:\Users\Felipe\Desktop\gmusado\gamemodes\Testemapa.pwn(3458) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 7 Errors.