[ajuda]entradas
#3

Quote:
Originally Posted by GabrielDias_Invision
Посмотреть сообщение
topo do GM:
PHP код:
enum pInfo
{
    
pInt,
};
new 
Player[MAX_PLAYERS][pTut]; 
final do GM:
PHP код:
forward PlayerToPoint(Float:radiplayeridFloat:xFloat:yFloat:z);
public 
PlayerToPoint(Float:radiplayeridFloat:xFloat:yFloat:z)
{
    if(
IsPlayerConnected(playerid))
    {
        new 
Float:oldposxFloat:oldposyFloat:oldposz;
        new 
Float:tempposxFloat:tempposyFloat:tempposz;
        
GetPlayerPos(playeridoldposxoldposyoldposz);
        
tempposx = (oldposx -x);
        
tempposy = (oldposy -y);
        
tempposz = (oldposz -z);
        
//printf("DEBUG: X:%f Y:%f Z:%f",posx,posy,posz);
        
if (((tempposx radi) && (tempposx > -radi)) && ((tempposy radi) && (tempposy > -radi)) && ((tempposz radi) && (tempposz > -radi)))
        {
            return 
1;
        }
    }
    return 
0;
}
forward SafeSetPlayerPos(playeridFloat:xFloat:yFloat:z);
public 
SafeSetPlayerPos(playeridFloat:xFloat:yFloat:z)
{
        
SetPlayerPos(playeridx,y,z);
        return 
1;

Ai Deu Esses Erros.

pawn Код:
C:\Documents and Settings\mau tito\Desktop\Samp 0\gamemodes\RPG.pwn(33) : error 017: undefined symbol "pTut"
C:\Documents and Settings\mau tito\Desktop\Samp 0\gamemodes\RPG.pwn(33) : error 009: invalid array size (negative, zero or out of bounds)
C:\Documents and Settings\mau tito\Desktop\Samp 0\gamemodes\RPG.pwn(203) : warning 217: loose indentation
C:\Documents and Settings\mau tito\Desktop\Samp 0\gamemodes\RPG.pwn(272) : warning 217: loose indentation
C:\Documents and Settings\mau tito\Desktop\Samp 0\gamemodes\RPG.pwn(1456) : warning 217: loose indentation
C:\Documents and Settings\mau tito\Desktop\Samp 0\gamemodes\RPG.pwn(1567) : error 017: undefined symbol "pLocal"
C:\Documents and Settings\mau tito\Desktop\Samp 0\gamemodes\RPG.pwn(1574) : error 017: undefined symbol "pLocal"
C:\Documents and Settings\mau tito\Desktop\Samp 0\gamemodes\RPG.pwn(1627) : error 017: undefined symbol "cluckinexit"
C:\Documents and Settings\mau tito\Desktop\Samp 0\gamemodes\RPG.pwn(1627) : warning 215: expression has no effect
C:\Documents and Settings\mau tito\Desktop\Samp 0\gamemodes\RPG.pwn(1627) : error 001: expected token: ";", but found "]"
C:\Documents and Settings\mau tito\Desktop\Samp 0\gamemodes\RPG.pwn(1627) : error 029: invalid expression, assumed zero
C:\Documents and Settings\mau tito\Desktop\Samp 0\gamemodes\RPG.pwn(1627) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


8 Errors.
Reply


Messages In This Thread
[ajuda]entradas - by Don_Speed - 30.11.2011, 15:02
Re: [ajuda]entradas - by GabrielDias_Invision - 30.11.2011, 15:07
Re: [ajuda]entradas - by Don_Speed - 30.11.2011, 15:12

Forum Jump:


Users browsing this thread: 3 Guest(s)