Jump to content
  • 0

Problema pawn


Mr_SkyRay

Question

Problema intalnita (descriere): problema de compilare
Ero(area / rile) / warning-(ul / urile): 

C:\Users\EfeX\Desktop\Roleplay.pwn(14) : error 017: undefined symbol "GetPlayerPos"
C:\Users\EfeX\Desktop\Roleplay.pwn(14) : warning 215: expression has no effect
C:\Users\EfeX\Desktop\Roleplay.pwn(14) : warning 215: expression has no effect
C:\Users\EfeX\Desktop\Roleplay.pwn(14) : warning 215: expression has no effect
C:\Users\EfeX\Desktop\Roleplay.pwn(14) : warning 215: expression has no effect
C:\Users\EfeX\Desktop\Roleplay.pwn(14) : error 001: expected token: ";", but found ")"
C:\Users\EfeX\Desktop\Roleplay.pwn(14) : error 029: invalid expression, assumed zero
C:\Users\EfeX\Desktop\Roleplay.pwn(14) : fatal error 107: too many error messages on one line

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


4 Errors.


Liniile de cod / sursa / script-ul(obligatoriu): 

PlayerToPoint(Float:radi, playerid, Float:x, Float:y, Float:z)
{
    new Float:oldposx, Float:oldposy, Float:oldposz;
    new Float:tempposx, Float:tempposy, Float:tempposz;
    GetPlayerPos(playerid, oldposx, oldposy, oldposz);
    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;
}


Imagini / Video (optional): -
Ati incercat sa rezolvati singur?:  da

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.