preciso de ajuda!
#1

C:\Users\kleiton\Downloads\samp037_svr_R2-1-1_win32\gamemodes\Mikael.pwn(20) : error 001: expected token: ")", but found "-identifier-"
C:\Users\kleiton\Downloads\samp037_svr_R2-1-1_win32\gamemodes\Mikael.pwn(16 : error 001: expected token: ",", but found ";"
C:\Users\kleiton\Downloads\samp037_svr_R2-1-1_win32\gamemodes\Mikael.pwn(373) : error 025: function heading differs from prototype
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


3 Errors.
alguйm sabe mim dizer como resolve esse erro?
linha 20 pbalas,
linha 168 SendClientMessageToAll(verde, string ;
linha 373 stock PlayerToPoint(Float:radi, playerid, Float, Float:y, Float:z)
Reply
#2

Poste as linhas dos erros nй.
Reply
#3

Quote:
Originally Posted by DelK
Посмотреть сообщение
Poste as linhas dos erros nй.
pronto veja agora
Reply
#4

PHP код:
new pbalas;
SendClientMessageToAll(verdestring);
forward PlayerToPoint(Float:radiplayeridFloat:xFloat:yFloat:z);//adiciona isso ao seu gm no
public PlayerToPoint(Float:radiplayeridFloat:xFloat:yFloat:z)//troque isso pelo seu stock que vc tem ai.
{
    if(
IsPlayerConnected(playerid))
    {
        new 
Float:oldposxFloat:oldposyFloat:oldposz;
        new 
Float:tempposxFloat:tempposyFloat:tempposz;
        
GetPlayerPos(playeridoldposxoldposyoldposz);
        
tempposx = (oldposx -x);
        
tempposy = (oldposy -y);
        
tempposz = (oldposz -z);
        if (((
tempposx radi) && (tempposx > -radi)) && ((tempposy radi) && (tempposy > -radi)) && ((tempposz radi) && (tempposz > -radi)))
        {
            return 
1;
        }
    }
    return 
0;

;
Reply
#5

agora mim ajude com esse erro eu ja resolvi aquele

C:\Users\kleiton\Downloads\samp037_svr_R2-1-1_win32\gamemodes\Mikael.pwn(217) : warning 202: number of arguments does not match definition
C:\Users\kleiton\Downloads\samp037_svr_R2-1-1_win32\gamemodes\Mikael.pwn(422) : error 025: function heading differs from prototype
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Error.

mim ajuda com esse agora
linha 217 if(!PlayerToPoint(2.0, playerid,1931.2430,1345.3267,9.968) return SendClientMessage(playerid, verde, " | ERRO | Voce nгo esta no ponto de equipar");
linha 422 stock PlayerToPoint(Float:radi, playerid, Float, Float:y, Float:z)
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)