26.03.2011, 17:20
if(strcmp(cmd, "/engineon",true) == 0) {
new vid = GetPlayerVehicleID(playerid);
if(vid != INVALID_VEHICLE_ID) {
SendClientMessage(playerid, COLOR_GREEN, "You Start Up The Vehicle's Engine");
GetVehicleParamsEx(vid,engine,lights,alarm,doors,b onnet,boot,objective);
SetVehicleParamsEx(vid,VEHICLE_PARAMS_ON,lights,al arm,doors,bonnet,boot,objective);
}
return 1;
}
I want to change the "You Start Up The Vehicle's Engine"
to make the player say /me Turns the engine on with keys
new vid = GetPlayerVehicleID(playerid);
if(vid != INVALID_VEHICLE_ID) {
SendClientMessage(playerid, COLOR_GREEN, "You Start Up The Vehicle's Engine");
GetVehicleParamsEx(vid,engine,lights,alarm,doors,b onnet,boot,objective);
SetVehicleParamsEx(vid,VEHICLE_PARAMS_ON,lights,al arm,doors,bonnet,boot,objective);
}
return 1;
}
I want to change the "You Start Up The Vehicle's Engine"
to make the player say /me Turns the engine on with keys