04.01.2013, 13:55
Well basically I want to have it like this /car engine, /car lights, /car bonnet, /car trunk.
I cannot put spaces in ZCMD. And how would I make it start the engine and start the ligths and boonet and trunk.
This is what I have so far. I also would like a closing send client message. How do I do this?
CMD:carengine(playerid,params[])
{
return 1;
}
CMD:carbonnet(playerid,params[])
{
SendClientMessage(playerid, COLOR_GREEN, "Vehicle bonnet opened");
return 1;
}
CMD:cartrunk(playerid,params[])
{
SendClientMessage(playerid, COLOR_GREEN, "Vehicle trunk opened");
return 1;
}
CMD:carlights(playerid,params[])
{
SendClientMessage(playerid, COLOR_GREEN, "Vehicle lights enabled");
return 1;
}
Thanks
I cannot put spaces in ZCMD. And how would I make it start the engine and start the ligths and boonet and trunk.
This is what I have so far. I also would like a closing send client message. How do I do this?
CMD:carengine(playerid,params[])
{
return 1;
}
CMD:carbonnet(playerid,params[])
{
SendClientMessage(playerid, COLOR_GREEN, "Vehicle bonnet opened");
return 1;
}
CMD:cartrunk(playerid,params[])
{
SendClientMessage(playerid, COLOR_GREEN, "Vehicle trunk opened");
return 1;
}
CMD:carlights(playerid,params[])
{
SendClientMessage(playerid, COLOR_GREEN, "Vehicle lights enabled");
return 1;
}
Thanks