Razvan22 Posted November 26, 2011 Posted November 26, 2011 [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 declarationC:\Users\baloo\Desktop\taxi.pwn(26) : error 035: argument type mismatch (argument 1)Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase4 Errors.[/pawn]Codul este [pawn]/*[FS] H3adshoot*/#include <a_samp>#define COLOR_YELLOW 0xFFFF00AA#define COLOR_BLUE 0x2641FEAA#define FILTERSCRIPTpublic 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
IcE. Posted November 26, 2011 Posted November 26, 2011 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!
Razvan22 Posted November 26, 2011 Author Posted November 26, 2011 [pawn]C:\Users\baloo\Desktop\taxi.pwn(15) : warning 217: loose indentationC:\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 declarationC:\Users\baloo\Desktop\taxi.pwn(28) : error 017: undefined symbol "object"Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase3 Errors.[/pawn]AKM IS 3 CA AM MODIFICAT CEVA
IcE. Posted November 26, 2011 Posted November 26, 2011 [pawn]#include <a_samp>#define COLOR_YELLOW 0xFFFF00AA#define COLOR_BLUE 0x2641FEAA#define FILTERSCRIPTnew 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!
IcE. Posted November 26, 2011 Posted November 26, 2011 am bagat pe sv dar nu se miscaProblema ta, daca nai facut cordonatele bine. Stiu si eu ... branza e pe bani, dar eu tot ma joc pe gratis!
Question
Razvan22
[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