i have a problem with my pawno
#1

Hey guys,
I tried to make a moveable gate with these lines:

if (strcmp(cmd, "/opengate, true == 0) {
MoveObject(lvaenterg1, 96.699996948242, 1920.5999755859, 13.60000038147, 1);
//To move the gate
SendClientMessage(playerid, COLOR_BLUE, "The Entergate is opened.");
return 1;
}


if (strcmp(cmd, "/closegate, true == 0) {
MoveObject(lvaenterg1, 996.699996948242, 1920.5999755859, 17.700000762939, 1);
//To move the gate
SendClientMessage(playerid, COLOR_BLUE, "The Entergate is closed.");
return 1;
}

But after i added those lines and i tried to compile it, my pawno just crashes and it doesn't compile.
(I also get an .amx file with 0 bytes).

Can someone please help me out.
jw
Reply


Messages In This Thread
i have a problem with my pawno - by jw_peeters - 11.03.2012, 16:03
Re: i have a problem with my pawno - by CmZxC - 11.03.2012, 16:11
Re: i have a problem with my pawno - by jw_peeters - 11.03.2012, 16:30

Forum Jump:


Users browsing this thread: 1 Guest(s)