[Ajuda]nessa linha !
#1

entгo pessoal estг dando erro nessa linha

Code:{
if(strcmp(cmdtext, "/abrirtaxi", true) == 0)
{
if ((PlayerInfo[playerid][pMembro] == 10 || PlayerInfo[playerid][pLider] == 10)
MoveObject(Portaotaxils,2423.533203125,-1764.3271484375,15.312473297119, 3.0);
SendClientMessage(playerid, 0x9E3EFFAA, "Portгo aberto,para fechar novamente digite,/fechartaxi !");
return true;
}
if(strcmp(cmdtext, "/fechartaxi", true) == 0)
{
MoveObject(Portaotaxils,2423.533203125,-1774.5771484375,15.312473297119, 3.0);
SendClientMessage(playerid, 0x9E3EFFAA, "Portгo fechando... !");
return true;
}

return true;

erro:
C:\Documents and Settings\Famнlia\Desktop\claronevivo\Mega Life 3.1\gamemodes\MegaLife.pwn(3360 : error 001: expected token: ")", but found "-identifier-"

Linha: MoveObject(Portaotaxils,2423.533203125,-1764.3271484375,15.312473297119, 3.0);

espero ajuda e do um +
Reply
#2

pawn Код:
if ((PlayerInfo[playerid][pMembro] == 10 || PlayerInfo[playerid][pLider] == 10))
Reply
#3

pawn Код:
if(strcmp(cmdtext, "/abrirtaxi", true) == 0)
{
    if(PlayerInfo[playerid][pMembro] == 10 || PlayerInfo[playerid][pLider] == 10)
    MoveObject(Portaotaxils,2423.533203125,-1764.3271484375,15.312473297119, 3.0);
    SendClientMessage(playerid, 0x9E3EFFAA, "Portгo aberto,para fechar novamente digite,/fechartaxi !");
    return true;
}
if(strcmp(cmdtext, "/fechartaxi", true) == 0)
{
    MoveObject(Portaotaxils,2423.533203125,-1774.5771484375,15.312473297119, 3.0);
    SendClientMessage(playerid, 0x9E3EFFAA, "Portгo fechando... !");
    return true;
}

@
Malditos ninjas!
mal posso ver seus movimentos !!!!!!!
Reply
#4

Que linha grande hein.

pawn Код:
if(strcmp(cmdtext, "/abrirtaxi", true) == 0)
{
    if(PlayerInfo[playerid][pMembro] == 10 || PlayerInfo[playerid][pLider] == 10)
    MoveObject(Portaotaxils,2423.533203125,-1764.3271484375,15.312473297119, 3.0);
    SendClientMessage(playerid, 0x9E3EFFAA, "Portгo aberto,para fechar novamente digite,/fechartaxi !");
    return true;
}
if(strcmp(cmdtext, "/fechartaxi", true) == 0)
{
    MoveObject(Portaotaxils,2423.533203125,-1774.5771484375,15.312473297119, 3.0);
    SendClientMessage(playerid, 0x9E3EFFAA, "Portгo fechando... !");
    return true;
}
Reply
#5

@EDIT

o do Luigi estб Certo
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)