Alright I'm trying to compile a giveitem script I got off Tk's frequent scripts in ktool.
object oItem=CreateItemOnObject( "g_i_rycard", GetFirstPC());
Everytime I compile it seems its successful, but when I got to the folder I compiled it to its not there? It compiles with no said errors though. I dont know whats wrong.
Anyideas?
Void main?
tried:
void main () object oItem=CreateItemOnObject( "g_i_rycard", GetFirstPC());
Got errors:
Syntax Error at object
tried:
void main () object oItem=CreateItemOnObject( "g_i_rycard", GetFirstPC());
Got errors:
Syntax Error at object
void main (
object oItem=CreateItemOnObject( "g_i_rycard", GetFirstPC());
)
void main() {
object oItem=CreateItemOnObject( "g_i_rycard", GetFirstPC());
}
go pick up a copy of c for dummies or whatever to get an idea of the syntax
void main (
object oItem=CreateItemOnObject( "g_i_rycard", GetFirstPC());
)
Syntax Error at ";" :confused:
EDIT: Thanks Canderis and Jmac for the help it worked this time.