What is the FUnction NEW? -
Andrew97 - 14.04.2012
What is NEW?
NEW MAX-PLAYERS
What is this Means? what is NEW?
What is Forward?
what they do? I thing they are Functions? and If they are Functions what is this Functions Do?
Re: What is the FUnction NEW? -
Jonny5 - 14.04.2012
its all in the wiki
https://sampwiki.blast.hk/wiki/Scripting_Basics
read there, it makes no sense for us to post whats already been written
Learn PAWN Language and youll know what all these are
Re: What is the FUnction NEW? -
WarriorEd22 - 14.04.2012
Quote:
Originally Posted by Jonny5
|
I'm guessing you obviously don't know it either. Why don't you just tell him?
It defines a new function so I guess you wouldn't really call it a function. It declares or recognizes new functions therefore when you're compiling, it won't come up with a bunch of errors saying it's not a recognized function or whatnot.
Re: What is the FUnction NEW? -
Jonny5 - 14.04.2012
why should i explain what HE CAN READ in the wiki
and
new does not define a new function
it defines a new variable...
public does not define a new function
it defines a function as public so that it can be used in ANY script.
you must also forward a public so the compiler knows to allow other scripts to use
callremotefunction on it.
dont guess to what i know, the fact is this is a scripting discussion not a PAWN teaching forum.
Learn pawn, write a script have an error post it here for help.. simple..
regards,
Re: What is the FUnction NEW? -
iggy1 - 14.04.2012
Lookes like a

To me.
Re: What is the FUnction NEW? -
WarriorEd22 - 14.04.2012
Quote:
Originally Posted by Jonny5
why should i explain what HE CAN READ in the wiki
and new does not define a new function
it defines a new variable...
public does not define a new function
it defines a function as public so that it can be used in ANY script.
you must also forward a public so the compiler knows to allow other scripts to use
callremotefunction on it.
dont guess to what i know, the fact is this is a scripting discussion not a PAWN teaching forum.
Learn pawn, write a script have an error post it here for help.. simple..
regards,
|
Learn PAWN? Are you kidding me? I'm a certified programmer from Cal Tech specializing in C++. PAWN originated from C++ so I think I know what I'm doing.
Re: What is the FUnction NEW? -
Jonny5 - 14.04.2012
lol well i dont think so cause yet your WRONG again
PAWN comes from C not c++
and you clearly took what i said wrong
i said learn pawn , write a script post in this forum for help
i dident mean YOU
and here you are babling off wrong info
this is why its important they learn from the wiki!!!
Bercause someone like you comes along and THINKS he knows what hes talking about
but yet is feeding the wrong info and yet leading a new scripting in the wrong direction.
just cause you know c++ dont mean you know PAWN,
c++ is an oop language im sure you know
pawn is NOT!
pawn is typeless!
pawn has no garbage collect!
ect.. ect
if you want to start a teaching class for pawn thats great but dont do it in this section
this is for people to get help with there code, not to learn how to code!
Re: What is the FUnction NEW? -
iggy1 - 14.04.2012
Also knowing c/c++ doesn't mean you know PAWN no matter how qualified in c++ you are. c++ is a completely different monster. IMO harder to learn than PAWN yes, but still completely different.
Re: What is the FUnction NEW? -
WarriorEd22 - 14.04.2012
Quote:
Originally Posted by Jonny5
lol well i dont think so cause yet your WRONG again
PAWN comes from C not c++
and you clearly took what i said wrong
i said learn pawn , write a script post in this forum for help
i dident mean YOU
and here you are babling off wrong info
this is why its important they learn from the wiki!!!
Bercause someone like you comes along and THINKS he knows what hes talking about
but yet is feeding the wrong info and yet leading a new scripting in the wrong direction.
just cause you know c++ dont mean you know PAWN,
c++ is an oop language im sure you know
pawn is NOT!
pawn is typeless!
pawn has no garbage collect!
ect.. ect
if you want to start a teaching class for pawn thats great but dont do it in this section
this is for people to get help with there code, not to learn how to code!
|
LOL! You act like a kid (maybe you are). C++, C, and C# are all part of the "C" group which means all the parameters, functions, strings are close to being the same.
Re: What is the FUnction NEW? -
Jonny5 - 14.04.2012
lol a kid?
what gives you that idea..
Dont think you can insult me just because I called you out
Fact is im not certified in anything, i bet that piss's you off
But im not a kid either, Im 30 if you must know!
and while they may all be
close
close and the same are much different in this case,
if you would actually learn pawn instead of assuming you know it cause you know c++
then youll see the MAJOR differences,
i mean you told this guy a
new defines a new function
and it clearly dont
so NO you dont know pawn.
im done with this topic hopefully you learned something today
regards,