MoveObject problem :/
#1

Код:
C:\Users\Chico\Desktop\Stunt\gamemodes\ostunt.pwn(397) : error 035: argument type mismatch (argument 2)
pawn Код:
public Checkrocket()
{
    new Float:x,Float:y,Float:z;
    if(GetObjectPos(rocket,x == -207.96336365 && y == 9.77062035 && z == 5.47431803))
    {
        goinguprocket = 0;
    }
    return 1;
}
error line
pawn Код:
if(GetObjectPos(rocket,x == -207.96336365 && y == 9.77062035 && z == 5.47431803))
Reply
#2

pawn Код:
public Checkrocket()
{
    new Float:x,Float:y,Float:z;
    GetObjectPos(rocket,x,y,z);
    if(x == -207.96336365 && y == 9.77062035 && z == 5.47431803)
    {
        goinguprocket = 0;
    }
    return 1;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)