[AJUDA] Erros
#1

Bom criei um comando pro player entrar no interior , mas tб dando os seguintes erros :

Код:
C:\Users\Lucas e Patricia\Desktop\BEGAHQLNIKO\gamemodes\Fussion.pwn(12421) : warning 202: number of arguments does not match definition
C:\Users\Lucas e Patricia\Desktop\BEGAHQLNIKO\gamemodes\Fussion.pwn(22568) : error 029: invalid expression, assumed zero
C:\Users\Lucas e Patricia\Desktop\BEGAHQLNIKO\gamemodes\Fussion.pwn(22570) : error 001: expected token: ")", but found "-identifier-"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


2 Errors.
o cуdigo que eu fiz foi esse :

pawn Код:
if(strcmp(cmd, "/entrarvip", true) == 0
    {
    if(PlayerToPoint(25.0,playerid,207.5627,-103.7291,1005.2578)
    SetPlayerPos(playerid,6.091179,-29.271898,1003.549438);
    return 1;
    }
me ajudem pf
Reply
#2

pawn Код:
if(strcmp(cmd, "/entrarvip", true) == 0
    {
    if(PlayerToPoint(25.0,playerid,207.5627,-103.7291,1005.2578)
    {
    SetPlayerPos(playerid,6.091179,-29.271898,1003.549438);
    }
    return 1;
    }
Reply
#3

pawn Код:
if(strcmp(cmd, "/entrarvip", true) == 0)
{
      if(PlayerToPoint(25.0,playerid,207.5627,-103.7291,1005.2578)
   {
       SetPlayerPos(playerid, 6.091179,-29.271898,1003.549438);
   }
   return true;
}
Reply
#4

ainda tem dois erros =(

Код:
C:\Users\Lucas e Patricia\Desktop\BEGAHQLNIKO\gamemodes\Fussion.pwn(12421) : warning 202: number of arguments does not match definition
C:\Users\Lucas e Patricia\Desktop\BEGAHQLNIKO\gamemodes\Fussion.pwn(22568) : error 029: invalid expression, assumed zero
C:\Users\Lucas e Patricia\Desktop\BEGAHQLNIKO\gamemodes\Fussion.pwn(22570) : error 001: expected token: ")", but found "{"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


2 Errors.
Reply
#5

pawn Код:
if(!strcmp(cmd, "/entrarvip", true))
{
    if(PlayerToPoint(25.0,playerid,207.5627,-103.7291,1005.2578))
    {
        SetPlayerPos(playerid,6.091179,-29.271898,1003.549438);
    }
    return true;
    }
Reply
#6

Quais linhas sгo essas ai?
Reply
#7

Obrigado ferreira , mais rep pra vc
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)