error 010: invalid function or declaration
#1

Do I miss something?
I thought I have done all right...
Код:
enum QuestGiftCarsCords
{
	Float:quest_gift_car_X,
	Float:quest_gift_car_Y,
	Float:quest_gift_car_Z
};
new QuestGiftCars[12][QuestGiftCarsCords];
QuestGiftCars[0][quest_gift_car_Z] = 13.36; //This line is the error line
Reply
#2

Add this under a callback, it won't work otherwise.
pawn Код:
//something like this:
public OnGameModeInit()
{
    QuestGiftCars[0][quest_gift_car_Z] = 13.36;
    return 1;
}
Reply
#3

Oh ok ty didnt know that =)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)