Jump to content
  • 0

Question

Posted

[pawn]C:\Users\baloo\Desktop\taxi.pwn(13) : error 017: undefined symbol "object"

C:\Users\baloo\Desktop\taxi.pwn(16) : error 021: symbol already defined: "print"

C:\Users\baloo\Desktop\taxi.pwn(19) : error 010: invalid function or declaration

C:\Users\baloo\Desktop\taxi.pwn(26) : error 035: argument type mismatch (argument 1)

Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

4 Errors.

[/pawn]

Codul este

[pawn]/*

[FS] H3adshoot

*/

#include <a_samp>

#define COLOR_YELLOW 0xFFFF00AA

#define COLOR_BLUE 0x2641FEAA

#define FILTERSCRIPT

public OnFilterScriptInit()

  {

    object = CreateObject(13607, 1905.12365723, 1907.33374023, 236.00469971, 0.00000000, 0.00000000, 0.00000000);

    return 1;

}

print("\n--------------------------------------");

print(" Taxi [FS] BY H3adShooT");

print("--------------------------------------\n");

return 1;

}

public OnFilterScriptExit()

{

    if( strcmp("cmdtext", "/Naveta", true)==0)

    {

        MoveObject("object", 316.97, 2333.19, 255.82);

        return 1;

    }

    return 0;

}[/pawn]

Ajutati-ma sa-l fac sa mearga :)

5 answers to this question

Recommended Posts

Posted

Adauga asta:

[pawn]new object;//pe la inceput[/pawn]

Si modifica :MoveObject("object", 316.97, 2333.19, 255.82); cu

[pawn]MoveObject(object, 316.97, 2333.19, 255.82);[/pawn]

Stiu si eu ... branza e pe bani, dar eu tot ma joc pe gratis!

Posted

[pawn]C:\Users\baloo\Desktop\taxi.pwn(15) : warning 217: loose indentation

C:\Users\baloo\Desktop\taxi.pwn(15) : warning 204: symbol is assigned a value that is never used: "object"

C:\Users\baloo\Desktop\taxi.pwn(15 -- 18) : error 021: symbol already defined: "print"

C:\Users\baloo\Desktop\taxi.pwn(15 -- 21) : error 010: invalid function or declaration

C:\Users\baloo\Desktop\taxi.pwn(28) : error 017: undefined symbol "object"

Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

3 Errors.

[/pawn]

AKM IS 3 CA AM MODIFICAT CEVA

Posted

[pawn]#include <a_samp>

#define COLOR_YELLOW 0xFFFF00AA

#define COLOR_BLUE 0x2641FEAA

#define FILTERSCRIPT

new object;

public OnFilterScriptInit()

  {

    object = CreateObject(13607, 1905.12365723, 1907.33374023, 236.00469971, 0.00000000, 0.00000000, 0.00000000);

print("\n--------------------------------------");

print(" Taxi [FS] BY H3adShooT");

print("--------------------------------------\n");

return 1;

}

public OnFilterScriptExit()

{

    if( strcmp("cmdtext", "/Naveta", true)==0)

    {

        MoveObject(object, 316.97, 2333.19, 255.82,5.00);//5.00 modifica tu.

        return 1;

    }

    return 0;

}

[/pawn]

Stiu si eu ... branza e pe bani, dar eu tot ma joc pe gratis!

Posted

am bagat pe sv dar nu se misca

Problema ta, daca nai facut cordonatele bine.

Stiu si eu ... branza e pe bani, dar eu tot ma joc pe gratis!

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.