compiler doesn't recognise names
#1

this dam shit code what i just copy pasted from a tutorial why doesn't recognise the name "MyFirstNPCVehicle" when i compile? this is the code:
Код:
new MyFirstNPCVehicle; //Global variable!
Reply
#2

Can't happen..
What is the exact problem?
Reply
#3

Did u put "new MyFirstNPCVehicle; //Global variable!" at the TOP of your script and not in OnGameModeInit?
Reply
#4

yes i put at the top now why doesn't recognise?
Reply
#5

1) dont swear

2) it need to be below includes...

PS: show us whole code at the top of your map
Reply
#6

this code i putted at the top now wtf is wrong now with this code's in this days?
this is the code mister "download" look..
Код:
new MyFirstNPCVehicle; //Global variable!
Reply
#7

Quote:
Originally Posted by DowNlOaD_
1) dont swear

2) it need to be below includes...

PS: show us whole code at the top of your map
Swear what you want but we can't help without the source
Reply
#8

why you can't help me? plz what source do you need ...my errors? or what
Reply
#9

this is my code what i just posted above
Код:
new MyFirstNPCVehicle; //Global variable!
Reply
#10

Quote:
Originally Posted by Sfinx_17
this is my code what i just posted above
Код:
new MyFirstNPCVehicle; //Global variable!
I think he means your Whole script, not just that line.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)