[Tool/Web/Other] SAMP arts
#41

Im finding Errors

Код:
C:\Users\Osama\Documents\Desktop\LKTEAM.pwn(10) : error 010: invalid function or declaration
C:\Users\Osama\Documents\Desktop\LKTEAM.pwn(14) : warning 219: local variable "__temp_string__" shadows a variable at a preceding level
C:\Users\Osama\Documents\Desktop\LKTEAM.pwn(14) : error 010: invalid function or declaration
C:\Users\Osama\Documents\Desktop\LKTEAM.pwn(15) : warning 219: local variable "__temp_string__" shadows a variable at a preceding level
C:\Users\Osama\Documents\Desktop\LKTEAM.pwn(15) : error 010: invalid function or declaration
C:\Users\Osama\Documents\Desktop\LKTEAM.pwn(16) : warning 219: local variable "__temp_string__" shadows a variable at a preceding level
C:\Users\Osama\Documents\Desktop\LKTEAM.pwn(16) : error 010: invalid function or declaration
C:\Users\Osama\Documents\Desktop\LKTEAM.pwn(17) : warning 219: local variable "__temp_string__" shadows a variable at a preceding level
C:\Users\Osama\Documents\Desktop\LKTEAM.pwn(17) : error 010: invalid function or declaration
C:\Users\Osama\Documents\Desktop\LKTEAM.pwn(18) : warning 219: local variable "__temp_string__" shadows a variable at a preceding level
C:\Users\Osama\Documents\Desktop\LKTEAM.pwn(18) : error 010: invalid function or declaration
C:\Users\Osama\Documents\Desktop\LKTEAM.pwn(19) : warning 219: local variable "__temp_string__" shadows a variable at a preceding level
C:\Users\Osama\Documents\Desktop\LKTEAM.pwn(19) : error 010: invalid function or declaration
C:\Users\Osama\Documents\Desktop\LKTEAM.pwn(20) : warning 219: local variable "__temp_string__" shadows a variable at a preceding level
C:\Users\Osama\Documents\Desktop\LKTEAM.pwn(20) : error 010: invalid function or declaration
C:\Users\Osama\Documents\Desktop\LKTEAM.pwn(21) : warning 219: local variable "__temp_string__" shadows a variable at a preceding level
C:\Users\Osama\Documents\Desktop\LKTEAM.pwn(21) : error 010: invalid function or declaration
C:\Users\Osama\Documents\Desktop\LKTEAM.pwn(22) : warning 219: local variable "__temp_string__" shadows a variable at a preceding level
C:\Users\Osama\Documents\Desktop\LKTEAM.pwn(22) : error 010: invalid function or declaration
C:\Users\Osama\Documents\Desktop\LKTEAM.pwn(23) : warning 219: local variable "__temp_string__" shadows a variable at a preceding level
C:\Users\Osama\Documents\Desktop\LKTEAM.pwn(23) : error 010: invalid function or declaration
C:\Users\Osama\Documents\Desktop\LKTEAM.pwn(24) : warning 219: local variable "__temp_string__" shadows a variable at a preceding level
C:\Users\Osama\Documents\Desktop\LKTEAM.pwn(24) : error 010: invalid function or declaration
C:\Users\Osama\Documents\Desktop\LKTEAM.pwn(25) : warning 219: local variable "__temp_string__" shadows a variable at a preceding level
C:\Users\Osama\Documents\Desktop\LKTEAM.pwn(25) : error 010: invalid function or declaration
C:\Users\Osama\Documents\Desktop\LKTEAM.pwn(26) : warning 219: local variable "__temp_string__" shadows a variable at a preceding level
C:\Users\Osama\Documents\Desktop\LKTEAM.pwn(26) : error 010: invalid function or declaration
C:\Users\Osama\Documents\Desktop\LKTEAM.pwn(27) : warning 219: local variable "__temp_string__" shadows a variable at a preceding level
C:\Users\Osama\Documents\Desktop\LKTEAM.pwn(27) : error 010: invalid function or declaration
C:\Users\Osama\Documents\Desktop\LKTEAM.pwn(28) : error 010: invalid function or declaration
C:\Users\Osama\Documents\Desktop\LKTEAM.pwn(30) : warning 219: local variable "__oid__" shadows a variable at a preceding level
C:\Users\Osama\Documents\Desktop\LKTEAM.pwn(30) : error 010: invalid function or declaration
C:\Users\Osama\Documents\Desktop\LKTEAM.pwn(30) : error 010: invalid function or declaration
C:\Users\Osama\Documents\Desktop\LKTEAM.pwn(30 -- 33) : warning 219: local variable "__temp_string__" shadows a variable at a preceding level
C:\Users\Osama\Documents\Desktop\LKTEAM.pwn(30 -- 33) : error 010: invalid function or declaration
C:\Users\Osama\Documents\Desktop\LKTEAM.pwn(30 -- 33) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


20 Errors.
Reply
#42

maybe you have no
#include <a_samp>
Reply
#43

DialUp, you're genius. Your release gives me so many possibilities to my upcoming project. And thanks for the source code, so that I can adapt the generated code to my script.
Reply
#44

Код:
C:\Users\pc2.pc2-PC\Desktop\Pinoy Roleplay\pawno\include\daryl.inc(10) : error 010: invalid function or declaration
C:\Users\pc2.pc2-PC\Desktop\Pinoy Roleplay\filterscripts\Daryl.pwn(234) : warning 203: symbol is never used: "__oid__"
C:\Users\pc2.pc2-PC\Desktop\Pinoy Roleplay\filterscripts\Daryl.pwn(234) : warning 203: symbol is never used: "__sX__"
C:\Users\pc2.pc2-PC\Desktop\Pinoy Roleplay\filterscripts\Daryl.pwn(234) : warning 203: symbol is never used: "__sY__"
C:\Users\pc2.pc2-PC\Desktop\Pinoy Roleplay\filterscripts\Daryl.pwn(234) : warning 203: symbol is never used: "__sZ__"
C:\Users\pc2.pc2-PC\Desktop\Pinoy Roleplay\filterscripts\Daryl.pwn(234) : warning 203: symbol is never used: "__temp_string__"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
@DialUp?
Reply
#45

Quote:
Originally Posted by Greaper
Посмотреть сообщение
Код:
C:\Users\pc2.pc2-PC\Desktop\Pinoy Roleplay\pawno\include\daryl.inc(10) : error 010: invalid function or declaration
C:\Users\pc2.pc2-PC\Desktop\Pinoy Roleplay\filterscripts\Daryl.pwn(234) : warning 203: symbol is never used: "__oid__"
C:\Users\pc2.pc2-PC\Desktop\Pinoy Roleplay\filterscripts\Daryl.pwn(234) : warning 203: symbol is never used: "__sX__"
C:\Users\pc2.pc2-PC\Desktop\Pinoy Roleplay\filterscripts\Daryl.pwn(234) : warning 203: symbol is never used: "__sY__"
C:\Users\pc2.pc2-PC\Desktop\Pinoy Roleplay\filterscripts\Daryl.pwn(234) : warning 203: symbol is never used: "__sZ__"
C:\Users\pc2.pc2-PC\Desktop\Pinoy Roleplay\filterscripts\Daryl.pwn(234) : warning 203: symbol is never used: "__temp_string__"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
@DialUp?
... any more details? Do you use #include <a_samp> ?
post your code, at least
also, you can contact me with Skype or e-mail

P.S. don't place #include with picture in the beginning of your script. Place it where you create objects. Something like OnMapStart() function
Reply
#46

Quote:
Originally Posted by DialUp
Посмотреть сообщение
... any more details? Do you use #include <a_samp> ?
post your code, at least
also, you can contact me with Skype or e-mail

P.S. don't place #include with picture in the beginning of your script. Place it where you create objects. Something like OnMapStart() function
oh, yea that worked, placed it in OnFilterScriptInit.

although the errors are gone, there's no object or picture in-game whatsoever... and I have the right coцrdinates.

things I enter in cmd:

convert -i fox.jpg -m 2 -t 1 -s "2071.7383 1677.1503 10.6797" -o fox.inc

it generates the file, it has the createdynamicobject stuff in it etc, but doesnt work.

pawn Код:
#include <a_samp>
#include <streamer>

public OnFilterScriptInit()
{
print("\n--------------------------------------");
print(" Blank Filterscript by your name here");
print("--------------------------------------\n");
   
#include "bad\images\fox.inc"
return 1;
}

public OnFilterScriptExit()
{
    return 1;
}
is the whole script.

what's the problem here? there's no object shown in-game. :/
Reply
#47

... I've never used streamer, so I recommend you to use -t 1
BUT... I think you forgot to add #include <streamer> into gamemode .pwn
Reply
#48

Quote:
Originally Posted by DialUp
Посмотреть сообщение
... I've never used streamer, so I recommend you to use -t 1
BUT... I think you forgot to add #include <streamer> into gamemode .pwn
I prefer using CreateDynamicObject as it has no object limit whatsoever, and nope I didn't forget to add #include <streamer> at the top.

anyway, whether I use CreateDynamicObject or not, it still wont work.. no objects shown ingame.
Reply
#49

ok added <a_samp> include now im getting 1 error

Код:
C:\Users\Osama\Documents\Desktop\LKTEAM.pwn(10) : error 010: invalid function or declaration
C:\Users\Osama\Documents\Desktop\LKTEAM.pwn(13532) : warning 203: symbol is never used: "__oid__"
C:\Users\Osama\Documents\Desktop\LKTEAM.pwn(13532) : warning 203: symbol is never used: "__sX__"
C:\Users\Osama\Documents\Desktop\LKTEAM.pwn(13532) : warning 203: symbol is never used: "__sY__"
C:\Users\Osama\Documents\Desktop\LKTEAM.pwn(13532) : warning 203: symbol is never used: "__sZ__"
C:\Users\Osama\Documents\Desktop\LKTEAM.pwn(13532) : warning 203: symbol is never used: "__temp_string__"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
Reply
#50

Quote:
Originally Posted by Smileys
Посмотреть сообщение
I prefer using CreateDynamicObject as it has no object limit whatsoever, and nope I didn't forget to add #include <streamer> at the top.

anyway, whether I use CreateDynamicObject or not, it still wont work.. no objects shown ingame.
Tried with streamer right now. Works fine. Contact me in skype or e-mail, have no idea wtf

Quote:
Originally Posted by Meow22
Посмотреть сообщение
ok added <a_samp> include now im getting 1 error

Код:
C:\Users\Osama\Documents\Desktop\LKTEAM.pwn(10) : error 010: invalid function or declaration
C:\Users\Osama\Documents\Desktop\LKTEAM.pwn(13532) : warning 203: symbol is never used: "__oid__"
C:\Users\Osama\Documents\Desktop\LKTEAM.pwn(13532) : warning 203: symbol is never used: "__sX__"
C:\Users\Osama\Documents\Desktop\LKTEAM.pwn(13532) : warning 203: symbol is never used: "__sY__"
C:\Users\Osama\Documents\Desktop\LKTEAM.pwn(13532) : warning 203: symbol is never used: "__sZ__"
C:\Users\Osama\Documents\Desktop\LKTEAM.pwn(13532) : warning 203: symbol is never used: "__temp_string__"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
Don't try to compile result script.. Make new .pwn and use the result include there
Reply
#51

Update LINK, please!
Reply
#52

nice work, thank you
Reply
#53

can i use it in textdraw ?
Reply
#54

Nice Job,Do The Best
Reply
#55

А главное, что рушн разработка
Reply
#56

Project updated.

PROJECT CONTINUES HERE AS INCLUDE
================================================== ==============
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)