invalid function or declaration
#1

Код:
CMD:burnchurch(playerid, params[])
{
               SendClientMessage(playerid, 0xFF08949E, "[NOTICE] You have put the los santos church on fire!");
	SendClientMessageToAll(0xFFED0C0C, "[CODE RED] Attention to all citzens of Los Santos The Los Santos church is on fire!");}
	cf2 = CreateDynamicObject(1449,2233.3000488,-1339.4000244,23.5000000,0.0000000,0.0000000,270.0000000); //object(dyn_crate_2)(1)
	cf3 = CreateDynamicObject(1449,2233.0000000,-1340.3000488,23.2999992,0.0000000,172.0000000,87.9999695); //object(dyn_crate_2)(2)
	cf4 = CreateDynamicObject(1449,2232.8999023,-1339.1999512,23.2999992,0.0000000,195.9964600,265.9949951); //object(dyn_crate_2)(3)
	cf5 = CreateDynamicObject(14443,2232.6999512,-1338.5000000,20.0000000,0.0000000,0.0000000,0.0000000); //object(burning_blinds08)(1)
	cf6 = CreateDynamicObject(14443,2234.0000000,-1340.0999756,21.2999992,0.0000000,0.0000000,0.0000000); //object(burning_blinds08)(2)
	cf7 = CreateDynamicObject(14443,2233.3999023,-1341.1999512,19.5000000,0.0000000,0.0000000,0.0000000); //object(burning_blinds08)(3)
	return 1;
}
At the create object they say invalid function or declaration, yes i made the variables
Reply
#2

What are your variables saved as? I.E new cf2; or new char cf2; etc....
Reply
#3

i do them like
new cf1;
new cf2;
etcetra
Reply
#4

Help guys this is really urgent
Reply
#5

Try changing CreateDynamicObject to CreateObject.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)